LoginSignup
0
0

More than 5 years have passed since last update.

Sequel Pro(シークエル・プロ)というアプリケーションを使って、データベースを作成したいのですがこのようなエラーが出てしまいます。

Posted at

Sequel Pro(シークエル・プロ)というアプリケーションを使って、データベースを作成したいのですがこのようなエラーが出てしまいます。。

Sequel Pro➡︎
『ソケット接続が失敗しました!
ソケット経由で接続できなかったか、リクエストがタイムアウトしました。
ソケットのパスが正しく必要な権限のあること、あわせてサーバが起動していることを確認してください。』
MySQL の応答: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

ターミナル➡︎
aberyuuryoku-no-MacBook-Air:butelr ryuki$ rake db:create

Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>nil, "host"=>"localhost", "database"=>"butelr_development"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}
(If you set the charset manually, make sure you have a matching collation)

Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>nil, "host"=>"localhost", "database"=>"butelr_test"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}
(If you set the charset manually, make sure you have a matching collation)

aberyuuryoku-no-MacBook-Air:butelr ryuki$ cd ~
aberyuuryoku-no-MacBook-Air:~ ryuki$ mysql.server start
Starting MySQL
................................................................................................... ERROR! The server quit without updating PID file (/usr/local/var/mysql/aberyuuryoku-no-MacBook-Air.local.pid).
aberyuuryoku-no-MacBook-Air:~ ryuki$

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0