Hi,
>>> mysql -S /opt/usr/mysql4/var/mysql.socket -uusr -p111111
is 111111 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 111111
and you are connected.
look at the doc at mysql.com
Mathias

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.