Image

Imageakismarain wrote in Imagephp 😜crazy

mysql_connect() not connecting, everything's right though.

Well guys, I'm truly stumped, and I don't know if you guys can even help me. I've exhausted everything so far, though, so I'm going to try it anyway.

Basically I have this:



which should work just fine as all my other statements are written exactly like that (to interface with my web database) and they work just fine.

I get this error, instead:

Warning: mysql_connect(): Lost connection to MySQL server during query in /data/htdocs/world/RegularSites/iop/events_forum_search.php on line 258
Could not connect

The only thing I can think of that would matter would be that it's a SQL database I'm trying to connect to, and not a MySQL, but there is not sql_connect function or anything like that, only ms sql and m sql... can someone give me some advice on this matter? I'm desperate and under a deadline!

Thanks in adddddddvance!