PHPからMySQLへの接続テスト

前回エントリのまま放置してあったのでテストした。 まず、ターミナルから確認。testデータベースがデフォルトで作成されているようなので、これを利用する。 ターミナルからの接続 $ mysql5 -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server …