|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi, all
when I run mysql got the error message: ERROR 1045 Access denied for user "root@localhost" Using password NO" when I run mysqladmin I got the error message: mysqladmin connect to server at 'localhosts' faild ERROR Access denied for user "root@localhost" Using password NO" what's wrong? please help, thank a lot |
|
#2
|
|||
|
|||
|
Did you set a password for root? If you did, you should provide it when logging in to MySQL: mysql -u root -p password
Peter |
|
#3
|
|||
|
|||
|
It's okay if you haven't specified a password for root in the beginning right after mysql is installed.
But you need to run this: /usr/local/mysql/bin/mysql_install_db, then using root should have all privileges set to 'Y'. You _SHOULD_ set a root password later on once you are comfortable with everything. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Access denied, please help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|