随笔分类 - MySQL
摘要:MySQL配置文件在Windows下叫my.ini,在MySQL的安装根目录下; 在Linux下叫my.cnf,该文件位于/etc/my.cnf。 Host '127.0.0.1' is not allowed to connect to this MySQL server 一般原因: MySQL数
阅读全文
摘要:1、mysql 2、mysqli
阅读全文
摘要:vi /etc/my.cnf [mysqld] skip-grant-tables service mysqld restart mysql -uroot -p use mysql UPDATE user SET authentication_string=password('nbou_Mysql@
阅读全文
摘要:CONCAT(str1,str2,…) 返回结果为连接参数产生的字符串。如有任何一个参数为NULL ,则返回值为 NULL。 mysql> select concat('11','22','33'); +------------------------+ | concat('11','22','33') | +------------------------+ | 112233 | +-...
阅读全文
摘要:修改php.ini 两个值重启服务器即可: upload_max_filesize = 512M post_max_size = 512M 感觉这个加大比较好 memory_limit = 1024M
阅读全文