Problem accessing MySQL
I have installed SuSE server with apache, PHP and MySQL. MySQL seems to work allright when I am logged in. Also PHP seems to work the way it is supposed to. But when I try to access MySQL from a web page I run into a problem:
after mysql_connect("localhost","username","password") nothing is written on the web page. Before that code everything written either in PHP or HTML prints on the page.
Exactly the same code works fine on my old server, where the MySQL version is 4.1.12. On the new server the MySQL version is 5.0.18. The PHP versions are 4.3.0 and 5.1.2 respectively.
Is there something I have overlooked when installing MySQL? Or PHP?
The mysql version is new, how bout the data? is it you dump the db from old mysql version or is it really new db?
I was a bit too hasty. Restarting the server fixed the problem!