質問編集履歴

1

設定ファイルの状況を追記しました

2015/12/07 01:08

投稿

zvub1123
zvub1123

スコア230

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  ```/var/log/mysqld.log
40
40
 
41
- [root@linux-yamauchi ~]# tail /var/log/mysqld.log
41
+ [root@linux-centos ~]# tail /var/log/mysqld.log
42
42
 
43
43
  InnoDB: Reading tablespace information from the .ibd files...
44
44
 
@@ -64,4 +64,48 @@
64
64
 
65
65
 
66
66
 
67
+
68
+
69
+ /etc/my.cnf の内容は以下になります。
70
+
71
+
72
+
73
+ ```/etc/my.cnf
74
+
75
+ [mysqld]
76
+
77
+ datadir=/var/lib/mysql
78
+
79
+ socket=/var/lib/mysql/mysql.sock
80
+
81
+ user=mysql
82
+
83
+ # Disabling symbolic-links is recommended to prevent assorted security risks
84
+
85
+ symbolic-links=0
86
+
87
+ character-set-server = utf8
88
+
89
+
90
+
91
+ [mysqld_safe]
92
+
93
+ log-error=/var/log/mysqld.log
94
+
95
+ pid-file=/var/run/mysqld/mysqld.pid
96
+
97
+
98
+
99
+ #Error log
100
+
101
+ log_error="/var/log/mysqld.log"
102
+
103
+ log_warnings=1
104
+
105
+ ```
106
+
107
+
108
+
109
+
110
+
67
111
  解決法をご存知でしたら、お願いいたします。