Title: change database server name
Last modified: January 5, 2022

---

# change database server name

 *  Resolved [dbosky](https://wordpress.org/support/users/dbosky/)
 * (@dbosky)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/change-database-server-name/)
 * The database server name changed to localhost but code snippet plugin is still
   using the old database server name. How do you change it?
 * unknown MySQL server host ‘blahblahblah’ (0) in /home/ebi1yp2u5udg/public_html/
   wp/wp-content/plugins/code-snippets/php/snippet-ops.php(469) : eval()’d code 
   on line 3
 * thanks,Dave

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/change-database-server-name/#post-15223110)
 * It looks like you are running SQL code from one of your snippets: the fact that
   the code is being fetched and evaluated indicates that the Code Snippets plugin
   itself is not having trouble reaching the database.
 * You might just need to find the snippet with this code and update it.

Viewing 1 replies (of 1 total)

The topic ‘change database server name’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/change-database-server-name/#post-15223110)
 * Status: resolved