Results 1 to 3 of 3
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 ...
- 04-14-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 14
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?
- 04-15-2008 #2
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?
- 04-15-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 14
I was a bit too hasty. Restarting the server fixed the problem!


Reply With Quote