質問編集履歴

7

mysql テーブル画像の追加

2018/02/23 01:23

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -459,3 +459,7 @@
459
459
  mysql 権限
460
460
 
461
461
  ![イメージ説明](dfb7a8674feb8be563bdafd6968c5d2b.png)
462
+
463
+ mysql テーブル
464
+
465
+ ![イメージ説明](c802072ce5bd56453fc623672575c432.png)

6

mysql権限画像

2018/02/23 01:23

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -453,3 +453,9 @@
453
453
  Error:SQLSTATE[HY000] [1045] Access denied for user 'andrew'@'localhost' (using password: YES)
454
454
 
455
455
  ```
456
+
457
+
458
+
459
+ mysql 権限
460
+
461
+ ![イメージ説明](dfb7a8674feb8be563bdafd6968c5d2b.png)

5

新たなエラーの追記

2018/02/23 01:21

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -443,3 +443,13 @@
443
443
  ![イメージ説明](a1759866e06824a609c10c5e55028d08.png)
444
444
 
445
445
  ![イメージ説明](48d2390822402764c405a98091086b73.png)
446
+
447
+
448
+
449
+ 追記 エラー
450
+
451
+ ```
452
+
453
+ Error:SQLSTATE[HY000] [1045] Access denied for user 'andrew'@'localhost' (using password: YES)
454
+
455
+ ```

4

DB情報の追加

2018/02/22 10:20

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -439,3 +439,7 @@
439
439
 
440
440
 
441
441
  ・接続DBは portfolioデータベースの中の usersテーブル
442
+
443
+ ![イメージ説明](a1759866e06824a609c10c5e55028d08.png)
444
+
445
+ ![イメージ説明](48d2390822402764c405a98091086b73.png)

3

削除

2018/02/20 12:02

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -439,37 +439,3 @@
439
439
 
440
440
 
441
441
  ・接続DBは portfolioデータベースの中の usersテーブル
442
-
443
-
444
-
445
- db.php
446
-
447
- ```
448
-
449
- <?php
450
-
451
- //DBにMysql、データベース名・ホスト名・文字セットの指定。
452
-
453
- $dsn = "mysql:dbname=portfolio;host=localhost;charset=utf8";
454
-
455
-
456
-
457
- //DBに接続するためのユーザー名・パスワードを設定
458
-
459
- $user = "andrew";
460
-
461
- $password = "andrew135";
462
-
463
- $dbName = "portfolio";
464
-
465
-
466
-
467
- $dbh = new PDO($dsn, $user, $password);
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
- ```

2

DBの追加

2018/02/20 11:57

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -439,3 +439,37 @@
439
439
 
440
440
 
441
441
  ・接続DBは portfolioデータベースの中の usersテーブル
442
+
443
+
444
+
445
+ db.php
446
+
447
+ ```
448
+
449
+ <?php
450
+
451
+ //DBにMysql、データベース名・ホスト名・文字セットの指定。
452
+
453
+ $dsn = "mysql:dbname=portfolio;host=localhost;charset=utf8";
454
+
455
+
456
+
457
+ //DBに接続するためのユーザー名・パスワードを設定
458
+
459
+ $user = "andrew";
460
+
461
+ $password = "andrew135";
462
+
463
+ $dbName = "portfolio";
464
+
465
+
466
+
467
+ $dbh = new PDO($dsn, $user, $password);
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+ ```

1

DB情報の追加

2018/02/20 11:56

投稿

dog57
dog57

スコア131

test CHANGED
File without changes
test CHANGED
@@ -433,3 +433,9 @@
433
433
 
434
434
 
435
435
  ```
436
+
437
+
438
+
439
+
440
+
441
+ ・接続DBは portfolioデータベースの中の usersテーブル