![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
CrazySnailers
学生,爱好打球,喜欢编程
展开
-
“Incorrect string value” when trying to insert UTF-8 into MySQL via JDBC?
And I'm getting the following error when tyring to add a row to a table:Incorrect string value: '\xF0\x90\x8D\x83\xF0\x90...' for column 'content' at row 1 MySQL's utf8 permits only the unicode ...2013-06-18 16:39:29 · 99 阅读 · 0 评论 -
Ubuntu下忘记MySQL root密码解决方法
sudo vi /etc/mysql/my.cnf,在[mysqld]段下加入一行“skip-grant-tables”sudo service mysql restart,重启mySQL服务sudo mysql -u root -p mysql,用空密码进入mysql管理命令行(进入mysql表, 或者用use mysql指令)执行update user set passw...原创 2013-06-20 16:30:44 · 153 阅读 · 0 评论