Jump to content

Archived

This topic is now archived and is closed to further replies.

rs

mysql batch mode access denied on hpux

Recommended Posts

Just started mysql on HPUX server. Trying to use batch mode to create a table.  I can't get past the ERROR 1044 and ERROR 1045 message. 

/tmp/sampdb>mysql -u sampadm -p < create_member.sql         
Enter password: ************************************************
ERROR 1045 (28000): Access denied for user 'sampadm'@'localhost' (using password: YES)

Share this post


Link to post
Share on other sites
Then it sounds like the user you specified doesn't have the right credentials.

Share this post


Link to post
Share on other sites
Credentials?  I did the "GRANT ALL" from root user.  I am also using a user account for mysql instead of using root.   

Share this post


Link to post
Share on other sites
Make sure you don't have one of those localhost vs. 127.0.0.1 issues.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.