mysql linux命令

324 ワード


最大接続数の変更
 vi /etc/my.cnf
[mysqld]    max_connections=1000

 
パスワードなしログイン
/etc/init.d/mysqld stop
/etc/init.d/mysqld start --skip-grant-tables
mysql -u root  ----> update mysql.user set password("") ........