From: Neil Armitage Date: April 8 2012 5:34pm Subject: Re: ERROR 1045 unable to connect to the mysql server List-Archive: http://lists.mysql.com/community/386 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5396dfe58946504bd2e4d63 --bcaec5396dfe58946504bd2e4d63 Content-Type: text/plain; charset=ISO-8859-1 Try it without the space between the -p and the password. The command should be mysql5 -u root -pmyRootPassword On 8 April 2012 17:12, Michael Parchet wrote: > Hello, > > I have install the mysql5 @5.1.60_0 and the mysql5 @5.1.60_0 serve > package via macport. > > I used the mysql_secure_installation5 with my root password and now there > are only the root user can access mysql. > > But if I run mysql5 I get an error. > > Here is my console output. > > mysql5 -u root -p myRootPassword. > BatAdminEnter password: > ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using > password: YES) > > Do you know this error ? > > Can you help me please ? > > Tanks > > Best regards > > mparchet > > -- > MySQL Community Mailing List > For list archives: http://lists.mysql.com/**community > To unsubscribe: http://lists.mysql.com/**community > > --bcaec5396dfe58946504bd2e4d63--