Hynesm Posted October 30, 2006 Share Posted October 30, 2006 I run a Global Online Text Game (www.landofknights.com) and have some strange problems occur very rarely. I run the game using PHP and MySQL with MySIAM databases. For some reason however, the database decided to set everyones level to 1 overnight, now I know you may think this is a hack, and here are my reasons for believing it is not:[list][*]It has happened 3 times, randomly, twice the link has been caused by deleteing a user.[*]Much of the site is secured using the mysql_real_escape_string() funtcion.[*]I do not believe it the host, it has happened on two host, most recently on my dedicated server (information as follows):Ram: 1GB of RamProcessor #1 Vendor: GenuineIntelProcessor #1 Name: Intel(R) Xeon(TM) CPU 2.80GHzProcessor #1 speed: 2801.559 MHzProcessor #1 cache size: 1024 KBProcessor #2 Vendor: GenuineIntelProcessor #2 Name: Intel(R) Xeon(TM) CPU 2.80GHzProcessor #2 speed: 2801.559 MHzProcessor #2 cache size: 1024 KBProcessor #3 Vendor: GenuineIntelProcessor #3 Name: Intel(R) Xeon(TM) CPU 2.80GHzProcessor #3 speed: 2801.559 MHzProcessor #3 cache size: 1024 KBProcessor #4 Vendor: GenuineIntelProcessor #4 Name: Intel(R) Xeon(TM) CPU 2.80GHzProcessor #4 speed: 2801.559 MHzProcessor #4 cache size: 1024 KBOn a Apache and Linux system with PHP 4.4.3 and MySQL 5.0.24.[*]It has done it on a lower version of MySQL and is the reason I upgraded.[/list]Is it possible that it is because I don't use InnoDB? Link to comment https://forums.phpfreaks.com/topic/25556-database-errors/ Share on other sites More sharing options...
fenway Posted October 30, 2006 Share Posted October 30, 2006 Impossible to tell... you can turn on the binary logger, and make sure that there's no update statement being run that you don't know about. Link to comment https://forums.phpfreaks.com/topic/25556-database-errors/#findComment-116823 Share on other sites More sharing options...
Hynesm Posted October 31, 2006 Author Share Posted October 31, 2006 Thanks for the speedy reply, how do I turn on binary logger?Thanks Mark Link to comment https://forums.phpfreaks.com/topic/25556-database-errors/#findComment-117159 Share on other sites More sharing options...
fenway Posted October 31, 2006 Share Posted October 31, 2006 It's somewhere in the my.cnf file, I don't recall. Link to comment https://forums.phpfreaks.com/topic/25556-database-errors/#findComment-117482 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.