Title: Simple Optimizer MySQL Errors
Last modified: August 21, 2016

---

# Simple Optimizer MySQL Errors

 *  [Indy69](https://wordpress.org/support/users/indy69/)
 * (@indy69)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/simple-optimizer-mysql-errors/)
 * I am having an issue with Simple Optimizer on one of my servers. I suspect it
   is something server related because the plugin fails on every site on this machine
   but it works fine on the sites I have which are hosted elsewhere. I get the following
   errors. (there are more but basically just repeats). It used to work fine and
   now all the sudden it seems to break. Not sure what changed to cause this problem.
   Any suggestions?
 * Warning: mysql_query(): Access denied for user ‘xxxxxx’@’localhost’ (using password:
   NO) in /home/xxxxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-
   optimizer-tools.php on line 121
 * Warning: mysql_query(): A link to the server could not be established in /home/
   xxxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-optimizer-
   tools.php on line 121
    Access denied for user ‘xxxxxxx’@’localhost’ (using password:
   NO)
 * Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in/
   home/xxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-optimizer-
   tools.php on line 123
 * [https://wordpress.org/plugins/simple-optimizer/](https://wordpress.org/plugins/simple-optimizer/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Indy69](https://wordpress.org/support/users/indy69/)
 * (@indy69)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/simple-optimizer-mysql-errors/#post-4828591)
 * Ok it seems the problem is that Simple Optimizer is not compatible with php 5.5.
   x. The reason is that Simple Optimizer uses straight php mysql commands instead
   of using the db functions that come with WordPress. Mysql functions are depreciated
   in php 5.5.x and Mysqli is the new standard. This is something the author of 
   this plugin should consider updating/fixing.

Viewing 1 replies (of 1 total)

The topic ‘Simple Optimizer MySQL Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-optimizer_cacaca.svg)
 * [Simple Optimizer](https://wordpress.org/plugins/simple-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-optimizer/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Indy69](https://wordpress.org/support/users/indy69/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/simple-optimizer-mysql-errors/#post-4828591)
 * Status: not resolved