Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2005, 12:02 AM   #1
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
having trouble installing MySQL with RPMs on Suse 9.1

Hey everyone. I am trying to install MySQL server and Client on my Suse Linux 9.1 using rpms. When i install with the rpm and then try to change the root password it gives me this :

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

even after i uninstalled the packages and then reinstalled them it still gives me the same problem. I want to know how exactly do i go about installing the server and client on my system using rpm. Also how do i go about easily changing the root password? Also, when i am about to install the packages what do i login is as. In other words when im about to rpm should i do this:

su - root

su -


or will i just have to install it using my regular user name?

Please help because this is very annoying.
Old 08-28-2005, 05:52 AM   #2
Registered: Dec 2004
Location: Dortmund, Germany
Distribution: Kubuntu 6.10 Edgy Eft
Posts: 33

Rep: Reputation: 15
First, you have to type "su " without everything.
Then, if you have MySQL installed, you have to type
mysql -u root to login to the MySQL-Server. If you never have set a password, there's no problem.
And in the MySQL-Shell type
set password for root@localhost = password('xxxxxx')
where xxxx will be your password. Then it might work for you
Old 08-28-2005, 09:25 AM   #3
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,589

Rep: Reputation: 145Reputation: 145
if u have already set a password for user root login
mysql -u root -p

this will ask for the password. you can use mysqladmin to set passwords too
mysqladmin -u root password 'newpassword' -p


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing MySql & PHP from rpms? Nelsond Fedora 3 08-12-2005 11:09 AM
Trouble Installing MySQL deimosponders Mandriva 7 01-27-2005 01:18 AM
Installing RPMs on Suse 9.1 inline.skater Linux - Distributions 7 06-28-2004 08:17 PM
SuSE 9.1 -- Installing RPMs in YaST MrFubar Linux - Software 9 05-30-2004 03:46 PM
Having trouble installing rpms for new Samba release TechHawk Linux - Networking 3 05-12-2004 02:07 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration