現在以下サイトを参考にEC2にcakephpの環境を作成しようとしています。
http://qiita.com/mesaka/items/783547cb40ad2ecf289d
このサイトのMySQL5.5のインストールの箇所にある
sudo mysql_install_db --datadir=/var/lib/mysql --user=mysql
を実行すると以下のようなエラーになります。
またこの前に行った作業としては/etc/my.cnfが存在しなかったため、
cp /usr/share/mysql/my-large.cnf /etc/my.cnf
を実行しています。
初めての環境構築のためかなり苦戦しています。
よろしくお願いします。
Installing MySQL system tables...
150925 7:43:59 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
150925 7:43:59 [Note] /usr/libexec/mysql55/mysqld (mysqld 5.5.45-log) starting as process 24779 ...
/usr/libexec/mysql55/mysqld: Character set 'utf-8' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
150925 7:43:59 [ERROR] Aborting
150925 7:43:59 [Note] /usr/libexec/mysql55/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/libexec/mysql55/mysqld --skip-grant &
and use the command line tool /usr/libexec/mysql55/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/libexec/mysql55/mysql -u root mysql mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before submitting a bug report
at http://bugs.mysql.com/
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/09/25 23:28