mysql
文章平均质量分 76
shiqi_baby
这个作者很懒,什么都没留下…
展开
-
获取数据库的key值
#include #include #include int main() { MYSQL my_connection; MYSQL_RES *res_ptr; MYSQL_ROW sqlrow; int res; mysql_init(&my_connection);原创 2016-04-14 10:45:54 · 1028 阅读 · 0 评论 -
红帽64位下修改mysql 5.1密码
在网上我看到了很多关于修改密码的信息,大致情况如下: # /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD('newpassword')原创 2016-05-23 11:40:11 · 531 阅读 · 0 评论