質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -350,11 +350,11 @@
|
|
350
350
|
|
351
351
|
|
352
352
|
|
353
|
-
$dsn = 'mysql:dbname=
|
353
|
+
$dsn = 'mysql:dbname=aaa;host=localhost;port=3306;charset=utf8';
|
354
|
-
|
354
|
+
|
355
|
-
$user = '
|
355
|
+
$user = 'aaa';
|
356
|
-
|
356
|
+
|
357
|
-
$password = '
|
357
|
+
$password = '';
|
358
358
|
|
359
359
|
$dbh = new PDO($dsn, $user, $password);
|
360
360
|
|