MyBB Community Forums

Full Version: Mysql Error Server Switch.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys i have a problem i dunt seem to be able to solve.

i have moved to a bigger server and downloaded all the stuff from my old server themes images everything and i downloaded a back up of my database.

i've uploaded all the files and created a mysql database on cpanel.

Now how do i link the forum up with the database? i get this error

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/dark10ac/public_html/inc/db_mysql.php on line 313
MySQL error:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/dark10ac/public_html/inc/db_mysql.php on line 314


Query:

So i went to that line and filed in the gaps username="" password="" and uploaded the file. but the same thing happened.
You need to make sure you have the correct username/password inside inc/config.php.
Fixed.

Thanks man i complete forgot about config.php i was looking in all the mysql files.


Aaron