Hello,
I'm using RH7.1, PHP4 and mySQL 3.23. The following commands can work properly:
mysql -uuser -p < sql/tables.sql mysql -uuser -p < sql/values.sql
BUT the command:
php sql/values.php
is invalid. I got the following error:
[root@server homepage]# php sql/values.php X-Powered-By: PHP/4.0.4pl1 Content-type: text/html
<br>Error connecting to MySQL database<br>[root@server homepage]#
Can you suggest me how to solve it?
Thanks,
Kevin
ok, finally i figure it out :)
thanks,
kevin
Log in to post a comment.
Hello,
I'm using RH7.1, PHP4 and mySQL 3.23. The following commands can work properly:
mysql -uuser -p < sql/tables.sql
mysql -uuser -p < sql/values.sql
BUT the command:
php sql/values.php
is invalid. I got the following error:
[root@server homepage]# php sql/values.php
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html
<br>Error connecting to MySQL database<br>[root@server homepage]#
Can you suggest me how to solve it?
Thanks,
Kevin
ok, finally i figure it out :)
thanks,
kevin