“Premature end of data” error with PHP

前端 未结 4 1148
无人共我
无人共我 2020-12-06 07:29

I\'ve just started using WAMP for a PHP project and I get the next errors related with this line of code:

$link=mysql_connect(\"localhost\",\"myuser\",\"mypa         


        
4条回答
  •  广开言路
    2020-12-06 08:01

    If using MySQL 4.1 + Try this

    At the MySQL Command line

    mysql> set old_passwords = 0; mysql> set password for 'user'@'some.host.domain' = PASSWORD('new_pass'); mysql> set old_passwords = 1;

提交回复
热议问题