change default charset of a database - Mysql

database charset

Snippet Code


  
Rate this page :
  [ 0 votes]

Change charset of a database using alter command as,

Syntax: ALTER DATABASE dbname DEFAULT CHARACTER SET charset_name; eg, ALTER DATABASE test1 DEFAULT CHARACTER SET utf8;

Tags


Ask Questions

Ask Question