標籤: 描述:#Warning: Using a password on the command line interface can be insecure.#ERROR 1045 (28000): Access denied for user ‘zabbix‘@‘localhost‘ (using password: YES)Mysql匯入zabbix的sql語句時報錯:ERROR 1045 (28000)描述:2016-08-02 17:30:26 17374
標籤:1、資料移轉將/tmp/t3.txt中的資料匯入到t3表中,資料以逗號為分割符load data infile ‘/tmp/t3.txt’ into table t3 fields terminated by ‘,‘;將table2表中的資料匯出為檔案data.txt,以逗號為分隔字元SELECT * INTO OUTFILE ‘data.txt‘-> FIELDS TERMINATED BY ‘,‘->&
標籤:mysql error 1396mysql> create user [email protected]‘localhost‘ identified by ‘[email protected]‘;ERROR 1396 (HY000): Operation CREATE USER failed for ‘jumpserver‘@
標籤:顯示所有資料庫: show databases;使用某個資料庫: use 資料庫名;顯示某個資料庫的所有表 show full tables from mblogs where table_type = ‘base table‘;顯示資料庫編碼 show charset建立表單 create table mblogs. m_linkss(id int(4) not null auto_increment,link_name
標籤: 查看欄位編碼:show full columns from t2;show variables like ‘%character%‘;show variables like ‘collation_%‘;show variables like ‘character_set_%‘;修改庫字元集:alter database test character set gbk;修改表字元集:alter table t1 character set gbk;修改欄位字元集:alter table t2
標籤:centos安裝 mysql1. 下載mysqlmysql被oracle收購後現在退出了企業版和社區版本,社區版本是開源的,企業版是收費的。社區版可以下載源碼也可以下載二進位檔案包。源碼安裝比較麻煩,有很多依賴,如果沒有特殊的要求可以直接下載二進位包安裝。我是下載的是社區版 MySQL Community Server ,選擇的系統選項為 Linux - Generic 64位 最新版本5.6.322. 解壓包tar xzvf mysql-5.6.32-linux-glibc2.5-x86