September 13th, 2000, 06:16 PM
i have just installed PHP4.0.2 onto our raq3 which is running Apache 1.3.9 on Linux
i had recently setup a few databases using PHP3 & MySQL.
after installing the PHP4, i cant access the databases using phpMyAdmin
it gives me an error "No Database Selected"
i have noticed that there is a difference between the php3.ini & php.ini which comes with PHP4.
it asks for a mysql.default_socket ?
can any1 help.. please :]
[This message has been edited by Jonny L (edited September 13, 2000).]
September 14th, 2000, 08:19 AM
from the command line use mysqladmin (you may need to pass in your uname/password
bash$> mysqladmin -u root variables
this'll give you a load of runtime variables for mysqld, one of them is where the unix socket it, mine is /tmp/mysql.sock
you can then add this in php.ini
Dunno about win32 tho
September 14th, 2000, 08:27 AM
thanx m8, i had sorted it this morning
cheers for replying.