Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/www/html/api_program/lib/sd_m/dbconn/adodb/drivers/adodb-mysql.inc.php on line 363

Fatal error: Uncaught exception 'SdDbConnectionException' with message 'Error connecting to mysql://flower:*****@localhost/vm_flowers' in /home/www/html/api_program/lib/sd_m/dbconn/sdlib_dbconn.php:240 Stack trace: #0 /home/www/html/api_program/lib/sd_m/dbconn/adodb/adodb.inc.php(430): sd_ADODB_mysql->_connect('localhost', 'flower', 'flower3121', 'vm_flowers') #1 /home/www/html/api_program/lib/sd_m/dbconn/sdlib_dbconn.php(138): ADOConnection->Connect('localhost', 'flower', 'flower3121', 'vm_flowers') #2 /home/www/html/api_program/florist/international/index.php(6): sdlib_dbconn::getInstance('vm_flowers_ro') #3 /home/www/html/api_program/index.php(97): include('/home/www/html/...') #4 {main} thrown in /home/www/html/api_program/lib/sd_m/dbconn/sdlib_dbconn.php on line 240