DB 로그인을 utf8이 아니라 utf8mb4로 변경

This commit is contained in:
Hide_D committed 2018-04-01 00:35:35 +09:00
1 parent 3ea95da4a6
commit 0f97ae8da9
6 files changed
+8 -21

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ namespace sammo;
function MYDB_connect($host, $id, $pw) {
$conn = mysqli_connect($host, $id, $pw);
mysqli_query($conn, 'set names utf8');
mysqli_query($conn, 'set names utf8mb4');
return $conn;
}