Re: Error 1045
| From: | Burhan Khalid | Date: | Sat, 22 Nov 2003 10:38:45 +0000 |
| Subject: | Re: Error 1045 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170659@lists.php.net to get a copy of this message | ||
ike strong wrote:
I don't know if this is the right place to ask this,This is not the right place to ask this. Ask on a MySQL mailing list. This is php.
but can anyone help me to figure out why each time I try to access my database using:In windows -- unless you specifically create a user, you don't need to pass a user. c:\mysql\bin\mysql will launch you as root. -u username is the syntax you want to use if you want to login as a particular user.c:\mysql\bin\inmysql -root -p
and afterwards:(i.e. after the password prompt)Obviously the system thinks your are ODBC. If you haven't done so already, run winmysqladmin and check your system. Use the -u command line option to specify a user. There is no such option as -root Next time, ask on the MySQL list. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."Enter Password: '******'I get the following:Error 1045: Access denied for user:'ODBC@localhost'(Using password: YES)