Re: Something boring about mysql application!!!

2005-05-31 Thread mfatene
Hi,
 mysql -S /opt/usr/mysql4/var/mysql.socket -uusr -p11

is 11 your database, i don't think so. That should dbe the password.
so, the command to connect that can be found in the doc can be :
mysql -uusr -p mysql

this will prompt you tu enter the password
Password:

here type 11

and you are connected.

look at the doc at mysql.com

Mathias


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



Re: Something boring about mysql application!!!

2005-05-31 Thread Gleb Paharenko
Hello.



See:

  http://dev.mysql.com/doc/mysql/en/access-denied.html

http://dev.mysql.com/doc/mysql/en/resetting-permissions.html









Hi,all

I have installed a Mysql4 verion on Turbo Linux successfully

recently.But I alwaysgot the error prompt from the database when I

did the connect to this DB.

Details:



[EMAIL PROTECTED] bin]$ mysqlshow

mysqlshow: Can't connect to local MySQL server through socket

'/opt/usr/mysql4/data/temp.sock' (2)





[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket

ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:

YES)

[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uroot

ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:

YES)

[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uusr

ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:

YES)

[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uusr

-p11

ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:

YES)







song wang [EMAIL PROTECTED] wrote:



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




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



Something boring about mysql application!!!

2005-05-30 Thread song wang
Hi,all
I have installed a Mysql4 verion on Turbo Linux successfully recently.But I 
always got the error prompt from the database when I did the connect to this DB.
Details:

[EMAIL PROTECTED] bin]$ mysqlshow 
mysqlshow: Can't connect to local MySQL server through socket 
'/opt/usr/mysql4/data/temp.sock' (2)


[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket 
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uroot
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uusr
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
[EMAIL PROTECTED] bin]$ mysql -S /opt/usr/mysql4/var/mysql.socket -uusr 
-p11
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)


I am so boring with this Q for nearly 2 days... help