Click to See Complete Forum and Search --> : php/mysql win2k


Anon
01-04-2001, 05:46 PM
I have installed php4 and mysql 3.23.29 all program are in and working.

I am now trying to connect to mysql through php. I have used phpMyAdmin to make my connection but for some reason it cannot find the msql server. I have tried all sorts of configs in the php.ini folder but I cant get them to connect to each other. Here is some info.
The server is running on localhost or(192.168.0.1) And mysql admin agrees with that. So what should I put on the php.ini mysql.defaul_host = ?? (I have tried http://localhost and http://192.168.0.1 and both without the http:// ?? but non seem to connect.

Any help would be nice Thankyou

Lee Smith

javierho
01-05-2001, 04:25 AM
Hello Lee,

i too am running php4 together with MySQL on a Win2k machine but with an older version of MySQL(ver 3.23.33)

I'm using the ISAPI version of PHP4 and did not touch the php.ini file at all. rather all i did was setup php4 to work with IIS 5.0 and download phpMyAdmin and put the entire folder into its webroot and it was up and working for me.

good luck to you =)

Javier

Anon
01-05-2001, 03:16 PM
Ok I have changed the php.ini back to nothing. Now in phpMyAdmin did you out localhost in this section
??$cfgServers[1]['host'] = '';
Or did you asign your ip. ?? I have phpMyAdmin working but when you select the Home link on the left it comes up with server=0 on the nav bar at the bottom.

?? Any other help would be nice

Lee

Anon
01-05-2001, 04:35 PM
No prob folks

Ive done it :-) :-)

Lee