On Thu, Jun 19, 2003 at 01:57:25PM -0400, Mazhar Malik wrote: > Hi guys > > I have just installed MySQL 4.0.13-standard on Mac OS X 10.2.6 for > the first time. While doing post-installation testing I got access > denied error. e.g > > > Shell > ./bin/mysqladmin -u root shutdown > ./bin/mysqladmin: connect to server at 'localhost' failed > error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)' run: ./bin/mysqladmin -u root -p shutdown
It will prompt you for the password you used during setup. > Similarly I got an error when I did this test > > > Shell > ./bin/mysqlshow mysql > ./bin/mysqlshow: Access denied for user: '@localhost' to database > 'mysql' ./bin/mysqlshow -u root -p mysql You must provide a username to connect to the mysql server with. The '-p' option says to prompt for and use a password in order to connect. > Before these tests, I had used following commands to setup password > > /usr/local/mysql/bin/mysqladmin -u root password <password> > /usr/local/mysql/bin/mysqladmin -u root -h `hostname` password > <password> > -- Greg Klaus -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=- Nec Mors, Nec Requies. Carpe Noctum! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]