How to connect to MySQL5 via PHP??
Posted: Mon Mar 31, 2008 2:29 pm
Hi everyone,
I have a problem with my new MySQL Version. I have installed MySQL 5 recently (I was working with MySQL 4....).
MySQL is working well and I can do anything via Commandprompt (windows platform) with it.
But I when I want to run a script that connects to the DataBase it gives me a fatalerror that says for example "mysql_connect() is not defined ....."
I also can't run MyPHPAdmin for MySQL5.
What should I do? Please help me through this.
ps. I use IIS, and PHP5.
Sincerely Yours
Saman J.
I have a problem with my new MySQL Version. I have installed MySQL 5 recently (I was working with MySQL 4....).
MySQL is working well and I can do anything via Commandprompt (windows platform) with it.
But I when I want to run a script that connects to the DataBase it gives me a fatalerror that says for example "mysql_connect() is not defined ....."
I also can't run MyPHPAdmin for MySQL5.
What should I do? Please help me through this.
ps. I use IIS, and PHP5.
Sincerely Yours
Saman J.