Monday, 3 September 2018
Subscribe to:
Post Comments (Atom)
<?php
$conn = mysql_connect('localhost', 'USER', 'PASSWORD');
if(!$conn) {
echo 'Error: ' . mysql_errno() . ' - ' . mysql_error();
}
?>
Error: 2002 - No such file or directory
mysql.default_socket
mysql.default_socket = /path/to/mysql.sock
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment