Hi, I am trying to create a script that automatically logs in to mysql and
chooses a db then runs a query.

I can login fine when doing it this way:

mysql -u user -p

it then asks for a pass and it works.

but if I try this:
mysql -u user -ppassword dbname

I get an access error.

any suggestions?

Thanks,

Chuck


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to