Title: changing sql host names
Last modified: August 21, 2016

---

# changing sql host names

 *  [funeral](https://wordpress.org/support/users/funeral/)
 * (@funeral)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-sql-host-names/)
 * hello i used to have my site hosted with mochahost before i got my VPS i transferred
   everything fine(nothing changed,same domain name and everything) but i cant get
   the images to show,they are in my media gallery just wont post. i didnt know 
   it if was because mochahost didnt use localhost as host name(forgot what their
   name was),i was just wondering how i can find what they used and replace it with
   localhost?

Viewing 1 replies (of 1 total)

 *  [RavesCoder](https://wordpress.org/support/users/ravescoder/)
 * (@ravescoder)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-sql-host-names/#post-4665551)
 * I’m not sure what you’re really asking here. But if you switched host, it would
   be a different host name – NOTE: Not all host names are localhost. Call, open
   a support ticket, or even look for yourself in your hosting dashboard, and maybe
   under (MySQL Databases, or PHPMYadmin), they probably have a different host name.
 * e.x;
 * 000webhost (free hosting provider) – There hostnames are usually mysql1.000webhost.
   com thru mysql16.000webhost.com
    HostGator (paid hosting provider) – There hostnames
   are localhost all the time,
 * again, have a look, or open a support ticket to see what your host name is, if
   this isn’t the problem, then again – support ticket, ask them what is wrong with
   the images that aren’t posting / showing up. It could be a problem on there end.

Viewing 1 replies (of 1 total)

The topic ‘changing sql host names’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [RavesCoder](https://wordpress.org/support/users/ravescoder/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/changing-sql-host-names/#post-4665551)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
