MySQL Kongreler?

0 Cevap php

Ben sadece yeni bir sunucuya siteme taşındı (VPS Shared)

Ben hataları beklenen ve beni gerçekten şaşırtıcıdır tek hata bu SQL ifadesidir.

echo mysql_query("SELECT COUNT(*) FROM users_online_now")

Bu hiçbir şey döndürür! Ve ben mysql_num_rows, döndürür çalışırsanız

mysql_num_rows(): supplied argument is not a valid MySQL result resource..

Ben başka bir tablo sorgulamak durumunda olsa örn:

echo mysql_query("SELECT COUNT(*) FROM users")

Bu çalışıyor.

Ben bu tablonun adlandırma ile ilgili bir şey olduğunu tahmin ediyorum? Benim önceki host üzerinde iyi çalıştı, ben değiştirmeniz gereken bazı ayar var mı?

Update: Figured out. The server is still going thru DNS changes, and the mySQL is completely messed up. DNS has finally updated!

0 Cevap