Posted in   
       103
      4:05 am, August 13, 2020 
      Create a UTF8 General MySQL Database with Command
This will create a UTF8 database with the character encoding utf8_general_ci replacing the  with your database name. I was manually doing this in adminer before this and selecting the encoding, this is much quicker!
 
    
Create a UTF8 General MySQL Database with Command Demo
View Demo Full Screen View Demo New Tab
Create a UTF8 General MySQL Database with Command Code
PHP
create database <database_name> character set UTF8 collate utf8_general_ciAdd Comment
Other Items in sql
Related Search Terms
Other Categories in Code
php functions
  
php functions
  
php functions