随笔 - 298  文章 - 377  trackbacks - 0
<2015年5月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

常用链接

留言簿(34)

随笔分类

随笔档案

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜

Database
About Database...
Mysql Delete
posted @ 2017-03-29 17:47 聂文龙 阅读(180) | 评论 (0)  编辑
Mysql 链表查询
posted @ 2016-09-08 18:12 聂文龙 阅读(837) | 评论 (0)  编辑
mac mysql error You must reset your password using ALTER USER statement before executing this statement.      摘要: mac mysql error You must reset your password using ALTER USER statement before executing this statement.
安装完mysql 之后,登陆以后,不管运行任何命令,总是提示这个

step 1: SET PASSWORD = PASSWORD('your new password');

step 2: ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER;

step 3: flush privileges;

完成以上三步退出再登,使用新设置的密码就行了,以上除了红色的自己修改成新密码外,其他原样输入即可

参考1: https://dev.mysql.com/doc/refman/5.6/en/alter-user.html

参考2: http://dev.mysql.com/doc/refman/5.7/en/password-  阅读全文
posted @ 2016-05-22 11:02 聂文龙 阅读(426) | 评论 (0)  编辑
SQL Server 2005 2208 xp_cmdshell存储过程 默认禁用了,用下面的语句可以打开和禁用。      摘要: --SQL语句开xp_cmdshell


-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
-- To disallow advanced options to be changed.
EXEC sp_configure 'show advanced options', 0
GO <  阅读全文
posted @ 2013-03-07 16:00 聂文龙 阅读(570) | 评论 (0)  编辑
安装 MySQL 5.0
posted @ 2009-01-11 02:14 聂文龙 阅读(902) | 评论 (0)  编辑
如何导出mysql 数据结构      摘要: mysqldump -d -uroot -p database>databaseStr.sql
-d :只要结构
-p :输入密码
-uroot : 用户为root
database>databaseStr.sql 把database 数据库的结构生成为文件 databaseStr.sql  阅读全文
posted @ 2008-07-02 10:36 聂文龙 阅读(1892) | 评论 (0)  编辑
清除 空格.
posted @ 2007-09-03 11:35 聂文龙 阅读(378) | 评论 (0)  编辑
ascent wow
posted @ 2007-08-23 22:55 聂文龙 阅读(7892) | 评论 (15)  编辑
mysql 编码
posted @ 2007-08-23 22:15 聂文龙 阅读(1115) | 评论 (2)  编辑

Full Database Archive