Re: Fw: Help me with this someone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /home/www/broadwaysecure.biz.nf/Index.php on line 9
Could not connect : Lost connection to MySQL server during query

What's line 9? You haven't sent 9 lines of code.

Also I suggest changing your mysql password, you've just broadcast it to the world. The mailing list is automatically archived in several places which all search engines have access to.

$broadway = mysql_pconnect("82.197.130.17", "218708_accounts", "sanity", false, 2) or die("Could not connect : " . mysql_error());

This is the wrong syntax for pconnect. RTFM:

http://au.php.net/mysql_pconnect

mysql_pconnect ([ string $server=ini_get("mysql.default_host") [, string $username=ini_get("mysql.default_user") [, string $password=ini_get("mysql.default_password") [, int $client_flags ]]]] )

Get rid of the "FALSE" argument.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux