iFocus.Life News News - Breaking News & Top Stories - Latest World, US & Local News,Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The iFocus.Life,

How to Convert a DB to UTF8 in MySQL

104 35
    • 1). Log in to your MySQL account. Access the query tool.

    • 2). Type in the following query:

      ALTER DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci

      This query says that you want to change the current collation of the database provided by "dbname" from whatever it currently is to UTF8.

    • 3). Execute the query.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time
You might also like on "Technology"

Leave A Reply

Your email address will not be published.