473,386 Members | 1,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

error 1045

Hi all,
i have a problem with mysql database.
On a linux machine at the first connect to database i have deleted from
users "@linux" and "@localhost" so when i try to connect from my machine
to my database i receive follow message :
mysql error 1045: access denied for root@localhost
I have try to reinstall mysql packages my problem persist!
Can u help me??
u are welcome.
thanks for now!

Jul 19 '05 #1
3 1411
karonte wrote:
I have try to reinstall mysql packages my problem persist!
Can u help me??


Propably your old databases and tables (atleast the database called
"mysql" where privileges are) have survived from the reinstall. Make
sure that they are removed when you remove mysql. I have tables at
/var/lib/mysql/, but I don't know where you have them.

You could also try mysql_install_db, see this page for help:

http://www.mysql.com/doc/en/mysql_install_db.html
Jul 19 '05 #2
karonte wrote:
I have try to reinstall mysql packages my problem persist!
Can u help me??


Propably your old databases and tables (atleast the database called
"mysql" where privileges are) have survived from the reinstall. Make
sure that they are removed when you remove mysql. I have tables at
/var/lib/mysql/, but I don't know where you have them.

You could also try mysql_install_db, see this page for help:

http://www.mysql.com/doc/en/mysql_install_db.html
Jul 19 '05 #3
karonte wrote:
I have try to reinstall mysql packages my problem persist!
Can u help me??


Propably your old databases and tables (atleast the database called
"mysql" where privileges are) have survived from the reinstall. Make
sure that they are removed when you remove mysql. I have tables at
/var/lib/mysql/, but I don't know where you have them.

You could also try mysql_install_db, see this page for help:

http://www.mysql.com/doc/en/mysql_install_db.html
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Morten Gulbrandsen | last post by:
Hi programmers, Good morning ;-) I think something is wrong, Running windows I believe first I have to set some password, Which creates some user, Then I can grant the required privileges, for...
0
by: Morten Gulbrandsen | last post by:
C:\mysql\bin>mysql -u elmasri -pnavathe company Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29 to server version: 4.1.0-alpha-max-debug Type...
3
by: dstewart | last post by:
Situation: One common MySQL database server on SuSE 9.1 with all updates. Uses 'rinetd'. Has entries for the appropriate IP addresses of all servers. NOTE: If the appropirate entries are NOT in...
2
by: arsisthesis | last post by:
Hi all, I have a curious problem with the ERROR 1044 and 1045: -system: OS X 10.4.3 (bash shell) -bash schell prompt: /~ kssun$ -I have set passwd to 'kssun' -I set path:...
3
by: Greg Noss | last post by:
I'm trying to install MySQL. During the security settings portion fo the setup. I keep getting a Connection Error. Error Nr. 1045 Access denied for user'root'@'localhost'(using password:YES) ...
3
by: prasadbabu | last post by:
Hi Guys, I am new to this forum. So if i made any mistake please bare with me. Soon i ll follow all the guidelines as days pass through. I am getting following error when i try to login to...
0
by: baghath | last post by:
I am using linux server in virtually(putty). that server have a mysql. I got the error (ERROR 1045) in when i type mysql time.i need ur help for how to rectify the error in command mode. ...
1
by: ajd335 | last post by:
Hi all... I am working with PHP and mysql. I have one form from which i am importing data into the table. Now i want "email " field result into a text file I am using code select email...
1
by: ajd335 | last post by:
Hi all... I am working with PHP and mysql. I have one form from which i am importing data into the table. Now i want "email " field result into a text file I am using code select email...
7
by: samalphins | last post by:
I have very strange error mysqldump: Got error: 1045: Access denied for user ''@'localhost' (using p assword: YES) when trying to connect I have installed mysql freshly with blank password...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.