Web Hosting Talk







View Full Version : Problem with mysql :(


CatGirl
07-31-2003, 03:20 AM
Hi every body im have i server when i have problem with Mysql or php i don't know please help me e.g problem in the server with vbulletin:
There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

e.g in nuke
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/alhandas/public_html/includes/sql_layer.php on line 290

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/cat3/public_html/includes/sql_layer.php on line 242

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/cat3/public_html/includes/sql_layer.php on line 290

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/cat3/public_html/includes/sql_layer.php on line 290
Put that going in all server can i body help me :bawling:
Thanks..

AmericanD
07-31-2003, 04:08 AM
When you get this message, it usually means that your query was invalid. Try adding "or die(mysql_error())" after the mysql_query (before the semi-colon). This should kill your script and display any error message returned by the MySQL server.

CatGirl
07-31-2003, 04:18 AM
Please tell how i can doing that by ssh or whm
Thanks

AmericanD
07-31-2003, 04:19 AM
SSH or FTP :)

sitekeeper
07-31-2003, 04:21 AM
CatGirl, is this a new install of VB or has it been running ok?

CatGirl
07-31-2003, 08:12 AM
Sir's this problem with all php and mysql in the server im know we have problem with mysql in my server put how repair it:bawling:

[UN]Jake
07-31-2003, 11:49 AM
Thats a query error, your probally not connecting to the database right...Example not selecting a database to use...or your query it invalid.

[UN]Jake
07-31-2003, 11:51 AM
Go to sql_layer.php or w/e and right under the everyline that there is an error type: print mysql_error();

CatGirl
07-31-2003, 02:46 PM
Sir the problem not in sql_layer.php
the problem in mysql in the server im think it not make connection can any body help me
Thanks

CatGirl
07-31-2003, 02:55 PM
Sir...
Im think 190 sites the config not correct that not feasible
the problem with mysql please help me to repair it

AmericanD
07-31-2003, 03:36 PM
so 190 websites are hosted on your server facing the same problem. And you'r looking for help in fixing your MySQL

I would recommend hiring a system admin to fix that for you for the sake of 190 other websites. One of the system admins i've heard good about is cheetaweb.

All the best