LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql problems (https://www.linuxquestions.org/questions/linux-software-2/mysql-problems-111335/)

mark_alfred 11-01-2003 11:13 PM

mysql problems
 
Hello. I can't seem to get mysql working. When I try to create a database it gives me the following message:

linux:/usr/bin # mysqladmin -u root create mydb
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'


What do I need to do?

Swift&Smart 11-02-2003 12:48 AM

Maybe....
 
Maybe I am wrong.But please try the following:

1.Type mysql -u root -p [password];

2.Type create database [databasename];

3.Type show database; <-To verify the new database has been created.



P.S. My friend,you can simply download MySQLCC from the MySQL website.It is a GUI software to make you work much more faster than typing command.

If you have any further problems,please post here. ;)


All times are GMT -5. The time now is 03:28 PM.