Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 31
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 31
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 33
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 33
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 35
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 72
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 72
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 78
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 78
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 80
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 86
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 86
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 88
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 94
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 94
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 95
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 97
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 97
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 99
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 99
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 101
But when i set up the calendar module , it was executed fine.
Same thing happen to me mainpage_install.php
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 33
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 33
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 35
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 35
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 57
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 57
Hello,
Anyone can help me out on this ?
My module userpage_setup.php unable to create table in mysql when i access it at http://www.mywebsite.com/phpweb/mod/userpage/userpage_setup.php, it give me errors such as
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 31
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 31
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 33
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 33
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 35
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 72
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 72
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 78
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 78
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 80
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 86
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 86
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 88
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 94
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 94
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 95
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 97
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 97
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/userpage/userpage_setup.php on line 99
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/userpage/userpage_setup.php on line 99
Warning: Supplied argument is not a valid MySQL result resource in /home/phpweb/mod/userpage/userpage_setup.php on line 101
But when i set up the calendar module , it was executed fine.
Same thing happen to me mainpage_install.php
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 33
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 33
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 35
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 35
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/phpweb/mod/mainpage/mainpage_install.php on line 57
Warning: MySQL: A link to the server could not be established in /home/phpweb/mod/mainpage/mainpage_install.php on line 57
One more thing is the page url, whenever i create a new block , the link will become http://www.mywebsite.com/"http://www.mywebsite.com/"phpweb/......something like this and I have to go mysql to change it , anyway to solve it ?
Any ideas ? Please help.
James
My php main directory is at http://www.mywebsite.com/phpweb/