Title: Sudden database error!
Last modified: August 18, 2016

---

# Sudden database error!

 *  [junipingla](https://wordpress.org/support/users/junipingla/)
 * (@junipingla)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/sudden-database-error-1/)
 * This morning I tried to log in to my admin panel and I got this error:
 * WordPress database error: [Illegal mix of collations (latin1_swedish_ci,IMPLICIT)
   and (utf8_general_ci,COERCIBLE) for operation ‘=’]
    SELECT ID FROM wp_users WHERE
   user_login = ‘Åse’
 * I couldn’t log in so I changed my login name from Åse to admin in php my admin
   and I got in. However, my whole blog that uses ISO-8859-1 looked totally weird!!!
   All my Å,Ä and Ös were all messed up.
    I have tried reuploading my sv_SE.mo but
   stilled messed up. When changing to UTF-8 in wp-admin my posts turns up fine 
   again.
 * Is there a problem with my SQL and how do I fix it?
    Thank you!

The topic ‘Sudden database error!’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [junipingla](https://wordpress.org/support/users/junipingla/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/sudden-database-error-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
