 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mario Guest
|
Posted: Thu Oct 05, 2006 2:54 pm Post subject: MySql error |
|
|
I installed MySql 5.0 (with installer) and before I try to add driver to
NetBeans I tried:
C:\Documents and Settings\Bajo>mysql
and got:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost'
How database won't work after so simple installation ? I tried to find the
answer in a manual but without success. |
|
| Back to top |
|
 |
David Harper Guest
|
Posted: Thu Oct 05, 2006 6:11 pm Post subject: Re: MySql error |
|
|
Mario wrote:
| Quote: | I installed MySql 5.0 (with installer) and before I try to add driver to
NetBeans I tried:
C:\Documents and Settings\Bajo>mysql
and got:
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost'
How database won't work after so simple installation ? I tried to find the
answer in a manual but without success.
|
If in doubt, always consult the excellent documentation.
http://dev.mysql.com/doc/refman/5.0/en/index.html
The section on Windows post-installation tasks may be relevant to your
question.
http://dev.mysql.com/doc/refman/5.0/en/windows-post-installation.html
If you have already created one or more MySQL accounts during the
installation process, then you need to specify the username on the
command line:
mysql -u <username> -p
Replace <username> with the username of the account with which you wish
to access the server. You will be prompted for the password.
Good luck.
David Harper
Cambridge, England |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|