I have created a subdirectory in my wordpress root directory, Added a path to root directory of my wordpress installation to define method. Now when I type
http:mydomainname/questions, where questions is my subdirectory where all my question2answer content uploaded.
then I get the following error
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/content/63/7124263/html/readwritejava/questions/qa-include/qa-db.php on line 50
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/content/63/7124263/html/readwritejava/questions/qa-include/qa-db.php on line 50
Database connect error
Kindly help me out