全文検索:
- MySQLコマンド
- | varchar(60) | NO | PRI | | | | User | varchar(16) | NO | PRI | | | | Password | varchar(16) | NO | | | | | Select_priv | enum('N','Y') | NO | | N | | | Insert_priv
- 15 MySQL 55 to 56 で問題
- ----------+ | sql_mode | STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION | +---------------+----------... ow in set (0.03 sec) mysql> SET GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION'; Query OK, 0 rows affected (... obal.sql_mode | +------------------------+ | NO_ENGINE_SUBSTITUTION | +------------------------+ ... my.cnf === 再起動後も設定反映させるために、my.cnfも修正 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES ↓ sql
- MySQL - レプリケーション
- y_Log_Space: 8663 Until_Condition: None Until_Log_File: ... Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Mast... _Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 ... no: 0 Last_SQL_Error: 1 row in set (0.00 sec) ERROR: No query specified </code>
- MySQLのインストール
- seradd mysql -g mysql -d /usr/local/ -s /usr/sbin/nologin </code> ====== インストール ====== <code console>... or termcap functions library... configure: error: No curses/termcap library found </code> これでコンフィグできま... /include/regex.h:46: warning: data definition has no type or storage class /usr/include/regex.h:56: ... えず無視してよい様子。 # configure ・ ・ ・ /bin/rm: cannot remove `libtoolT': No such file or directory
- 01 MySQL インデックス
- create table cloudstack_domain_resource( id int not null auto_increment, name text not null created_at datetime not null, primary key (id), key index_date(created_at), key index_domai
- 16 mysql community からyum
- //dev.mysql.com/get/mysql-community-release-el5-5.noarch.rpm CentOS6 # rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm CentOS7 # rpm -ivh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm ===== インストール ===== # yum install mys
- MySQL - slow log
- ong_query_time = 1; mysql> set global log_queries_not_using_indexes=0; </code> long_query_timeで設定した時間よりも短い結果で返ってくるクエリが保存されていた 原因はlog_queries_not_using_indexesがONになっていた。 これがONになっているとインデックスを使っていな
- MySQLパスワードエラー
- が発生する可能性があります。 <code> shell> mysql Client does not support authentication protocol requested by se