LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-25-2005, 09:51 AM   #1
OverrRyde
Member
 
Registered: May 2004
Posts: 51

Rep: Reputation: 15
MySQL problem here!!


Hey guys, first off Merry Christmas to all!

Heres a long story, im gonna try to make it short

i have mandrake 10.1 official installed. Im having problems with mysql 4.1.16

evrything is running, my db's are functionnal, my problem is at the coinfiguration of sql.

i was using phpmyadmin to access the dbs, but then at the bottom i get the "using root with no password" warning. So i go and set a password for root, but then it doesnt work, remove the password and it does work.

Anyhow, i decided to create a new user with complete privileges and password. Using http auth in config.inc.php, i cant log in, but i can if i dont put a password! but privileges dont work

Basicaly, i want to be able to not use root, and create my user so they can access the dbs because as we speak, the are running root with no pass under the dbs which i dont like, but had no choice because the users created for them with the privileges dont work...

Anyone kknow a solution?

Thanks!
 
Old 12-25-2005, 10:42 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
there's nothing wrong with creating users with root or doing administrative stuff as root. Just don't do everything as root. As far as your problem goes, what command did you use to set a root password for mysql?

and after setting the password, did you flush privileges?
 
Old 12-25-2005, 10:47 AM   #3
OverrRyde
Member
 
Registered: May 2004
Posts: 51

Original Poster
Rep: Reputation: 15
thansk for the answer, as for the commmande i did was:
mysqladmin -u root password 'mypass'

and yes i did flush proivileges

as far as it goes for the users, the thing is that if i try to login a user with the password, it doesnt work, the only to log him in is with no password, but then again, he has no privileges, which is useless...

i a so confused!
 
Old 12-25-2005, 06:19 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
No. but what command in mysql did you use to add a password to mysql root and/or your mysql users?
 
Old 12-27-2005, 06:41 AM   #5
OverrRyde
Member
 
Registered: May 2004
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by megaspaz
No. but what command in mysql did you use to add a password to mysql root and/or your mysql users?
mysqladmin -u root password 'mypass'

for the users, i created the users via phpyadmin
 
  


Reply



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
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
mysql 4.0.24 to mysql 4.1.12 upgrade problem tuxrules Slackware 7 08-13-2005 06:43 PM
MySQL server problem after linking (mysql.sock) ewijaya Linux - General 4 01-19-2004 09:46 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 AM.

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