Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem creating new database

Status
Not open for further replies.

ceimon

Programmer
Sep 25, 2002
14
US
I tried to create a mysql database using the following command:
shell>bin/mysqladmin --password=pass create web_db

and got this error message:
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'

please help me resolve this issue.
 
You have to specify a user
yhe correct usage for your statement is

mysqladmin --user=root --password=pass create databasename

I recommend you learn to use mysql without using any GUI. In future, when you know it better, you may want to look at a GUI to speed up something although I am pretty sure you won't feel a need for it anymore. MySQL is a very easy RDBMS. If you want to know it well a GUI is a wrong start.


Try download the full manual


Bye


Qatqat



Life is what happens when you are making other plans.
 
You have to specify a user
yhe correct usage for your statement is

mysqladmin --user=root --password=pass create databasename

I recommend you learn to use mysql without using any GUI. In future, when you know it better, you may want to look at a GUI to speed up something although I am pretty sure you won't feel a need for it anymore. MySQL is a very easy RDBMS. If you want to know it well a GUI is a wrong start.


Try download the full manual


Bye


Qatqat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top