全文検索:
- MySQLコマンド @02_freebsd:04_database:01_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 で問題 @02_freebsd:04_database:01_mysql
- ----------+ | 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 - レプリケーション @02_freebsd:04_database:01_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のインストール @02_freebsd:04_database:01_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
- PostgreSQLコマンド @02_freebsd:04_database:02_posgresql
- ル名 ADD CONSTRAINT 制約名 UNIQUE ( 列名 [, 列名]... ); NOT-NULL制約の追加 ALTER TABLE テーブル名 ALTER COLUMN 列名 SET NOT NULL; 制約の削除 ALTER TABLE テーブル名 DROP CONSTRAINT 制約名; NOT-NULL制約の削除 ALTER TABLE テーブル名 ALTER COLUMN 列名 DROP NOT NULL; デフォルトの追加 ALTER TABLE テーブル名 ALTER COLU
- 01 MySQL インデックス @02_freebsd:04_database: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 @02_freebsd:04_database:01_mysql
- //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 @02_freebsd:04_database:01_mysql
- ong_query_time = 1; mysql> set global log_queries_not_using_indexes=0; </code> long_query_timeで設定した時間よりも短い結果で返ってくるクエリが保存されていた 原因はlog_queries_not_using_indexesがONになっていた。 これがONになっているとインデックスを使っていな
- PostgreSQL+pgpoolアップデート @02_freebsd:04_database:02_posgresql
- etc/init.d/postgresql 257行目 --encoding=EUC_JP --no-localeを加える $SU -l postgres -c "$PGENGINE/initdb --pgdata='$PGDATA' --encoding=EUC_JP --no-locale --auth='ident'" >> "$P GLOG" 2>&1 <
- MySQLパスワードエラー @02_freebsd:04_database:01_mysql
- が発生する可能性があります。 <code> shell> mysql Client does not support authentication protocol requested by se
- ApacheのBasic認証でPostgreSQLを参照 @02_freebsd:04_database:02_posgresql
- _pgsql.so into server: Shared object "libpq.so.3" not found 以下のようにシンボリックリンクを張ることで正常に起動する。 ln -s /
- PostgreSQLインストール @02_freebsd:04_database:02_posgresql
- postgresql configure: error: readline library not found これでインストールできる <code console> # yum install