[PHP] MySQL Connection problem

2004-12-11 Thread Mike Francis
Hi, I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box. I have created a new database 'ijdb' with a single table 'joke' and have entered data into two of the three fields in the table. I can access the database / tables / data from a command prompt. However, when I try to connect

[PHP] PHP-MySQL connection problem

2002-07-29 Thread Manisha
Hi, My server is running on shared server which has support for PHP 4.1.2. I installed mySQL for our shared server. I also installed phpMyAdmin. Both are running properly. But I am facing following problems 1) If there is any error in the script - It is not getting displayed - screen is

RE: [PHP] PHP-MySQL connection problem

2002-07-29 Thread John Holmes
My server is running on shared server which has support for PHP 4.1.2. I installed mySQL for our shared server. I also installed phpMyAdmin. Both are running properly. But I am facing following problems 1) If there is any error in the script - It is not getting displayed - screen is

[PHP] Re: PHP-MySQL connection problem

2002-07-29 Thread Richard Lynch
My server is running on shared server which has support for PHP 4.1.2. I installed mySQL for our shared server. I also installed phpMyAdmin. Both are running properly. But I am facing following problems 1) If there is any error in the script - It is not getting displayed - screen is becoming

RE: [PHP] PHP-MySQL connection problem

2002-07-29 Thread Manisha
Hi, I tried to display phpinfo and I am getting following values display_errors On On display_startup_errors On On error_append_string no value no value error_logno value no value error_prepend_string no value

[PHP] PHP/mysql connection problem

2002-07-07 Thread Jo
Hey all, this is probably more to do with Mysql but I figured i'd ask here as well. The problem: When connecting to the mysql server on the local machine its fine, but when you connect to a remote machine eg $db = mysql_connect(x.x.x.x, user, password); and request something from the database,

Re: [PHP] PHP/mysql connection problem

2002-07-07 Thread Chris Shiflett
Jo wrote: The problem: When connecting to the mysql server on the local machine its fine, but when you connect to a remote machine eg $db = mysql_connect(x.x.x.x, user, password); and request something from the database, it connects, BUT it takes about 5 minutes... I have an idea, yes. Make

RE: [PHP] PHP/mysql connection problem

2002-07-07 Thread Peter
Hey all, this is probably more to do with Mysql but I figured i'd ask here as well. The problem: When connecting to the mysql server on the local machine its fine, but when you connect to a remote machine eg $db = mysql_connect(x.x.x.x, user, password); and request something

[PHP] MySQL connection problem?

2002-01-13 Thread Alex Shi
Here is my situation: 1. Two hosts: HA and HB, both connected with each other via Internet. 2. On HA there is a MySQL server SA and a Web server WA, while on HB there is a SB and a WB. 3. On WA there is a page, on which there are two buttons: ba and bb. The ba is linked to a script sa.php while