I have completed all the steps successfully. However, I am not able to create database as said in step 7. To check that MySQL is working on my system, I used the command: /etc/init.d/mysqld start It says: Starting MySQL : [OK]
To check openser is running: I used the command, /etc/init.d/openser start I get on command line: Starting openser: [OK]
However, when i try to create database: /usr/local/sbin/openserdbctl create I get the error as:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.socket' (2)
Hi Megha,
do you verified that the mysql database is accessible at the system, using the mysql client? Perhaps there is a misconfiguration on your system, causes eg. that only access over a certain network interface is possible. The empty socket file that is present on your system is ok.
Cheers,
Henning