MySQLdump -u -p database –add-drop-table –extended-insert |
set names utf8; |
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘??? /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */’ at line 1 |
mysql -u -p database < dumpdata.sql |
Got a packet bigger than ‘max_allowed_packet’ bytes or ERROR 1153 (08S01) at line 616: Got a packet bigger than ‘max_allowed_packet’ by tes |
set-variable=max_allowed_packet=10485760 |
mysql_connect(…. mysql_query(”set names ‘utf8′”); |
<meta http-equiv="Content-Type" c /> |
欢迎光临 MariaDB社区 (http://123.56.88.72/) | Powered by Discuz! X3.2 |