im a newbie 2 php in general and i finally got 2 mysql in databases, and im havin trouble with mysql_connect(), it wont connect and i dunno y. im usin php 4.3.5 so mysql is buildt-in, n im running my scripts on apache(localhost), can ne1 help?
nethin i could do? o and as of lately wen i stop or restart apache it always closes off in an error and windows brings up the "end process now" window, if that helps.
It's not related to apache, it's MySQL, it's not running.
Goto c:\mysql\bin and double click winmysqladmin.exe (or wherever it is on your system if you've installed it to a different place).
Hmm, PHP only bundles the client libraries, not the server, you still need to be running a mysql server to be able to connect to it.
Goto http://www.mysql.com and download and install it, it only takes a few clicks