LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-06-2005, 08:50 AM   #1
kuplo
Member
 
Registered: Oct 2005
Posts: 123

Rep: Reputation: 15
Mysql and superuser


I've added my username 3 times, once by itself, once with local host and once with my host domain, I've given myself permission databaes but when I connect I get an permission error, I dont rememember how I did it before in mysql-Administrator but I made myself a superuser and had no problems after that. HOw do I go about doing that again?

Thanks,
 
Old 12-06-2005, 09:00 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
mysql> GRANT ALL PRIVILEGES ON *.* TO username@hostname IDENTIFIED BY 'password' WITH GRANT OPTIONS;

mysql> flush privileges;

mysql> quit

$ mysql -uUserName -pPassword

mysql>
 
  


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
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
Superuser CJ_Grobler Linux - Newbie 7 06-13-2005 09:35 PM
Superuser for Mount? Jskill007 Slackware 5 08-29-2004 10:53 PM
how to add a new superuser? zhebincong Linux - Newbie 11 06-23-2004 03:24 AM
superuser snu *BSD 5 07-22-2003 09:48 PM

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

All times are GMT -5. The time now is 12:58 PM.

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