A
Anonymous
Guest
Hello, I am trying to work with mysql by using the built in command-line client. The following instructions are from a book on using mysql:
My problem is that when I locate the mysql.exe file and try to run it I get the following message:
and mysql.exe does not run.
Please help me start mysql.exe
The MySQL command-line client is in the /bin directory of your MySQL installation and has the file name mysql (on Unix) or mysql.exe on DOS/Windows.
If you are on Windows, you will need to go to the DOS prompt, find the path to mysql.exe, and execute it.
When you’re done, you should have something that looks very much like this:
[root@localhost root]$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 716 to server version: 3.22.27-log
Type ‘help’ for help.
mysql> create database guestbook;
Query OK, 1 row affected (0.00 sec)
mysql>
Then, at the prompt, create a new database by typing in:
create database database_name;
My problem is that when I locate the mysql.exe file and try to run it I get the following message:
ERROR 1045: Access denied for user: 'ODBC@localhost' <Using password: NO>
and mysql.exe does not run.
Please help me start mysql.exe