
数据库-MYSQL
_uniqs
由于种种原因,本博客已移植至
https://www.cnblogs.com/uniqs/
给您带来不便深表谦意
展开
-
mysql 导入导出数据库以及函数、存储过程
mysql常用导出数据命令: 1.mysql导出整个数据库 mysqldump -hhostname -uusername -ppassword databasename > backupfile.sql mysqldump -hlocalhost -uroot hqgr> hqgr.sql (如果root用户没用密码可以不写-p,当然导出的s原创 2013-07-10 09:16:54 · 3341 阅读 · 4 评论 -
get all rows count of all tables in a mysql database.
select t.table_rows, t.table_name from information_schema.tables t where table_schema = 'nova'; select t.table_rows, t.table_name from information_schema.tables t where table_schema = 'nova' and t.ta原创 2013-01-27 14:11:08 · 786 阅读 · 0 评论 -
mysql create user grant privileges
create user 'aaa'@'%' identified by 'aaaaaa'; grant all privileges on *.* to 'aaa'; commit; flush privileges; 用root登录, use mysql; 然后把user表清一下: delete from user where User = 'root' and Host !...原创 2016-11-15 10:56:46 · 1343 阅读 · 0 评论 -
uniqs的服务端框架(持续更新中)
声明:商业原因,此框架不再开源。如有需求,请联系本人(uniqs@163.com)。20171231。 20190608:由于某些原因,我们已经放弃对windows的支持。 说明: 目前版本:1.0 libdb 使用一种面向接口的编程思路写的一套数据库中间件,目前支持MYSQL数据库。 libnet 使用一种面向接口编程的思路写的一套网络库 test/testdblib 数据库测...原创 2017-09-04 12:50:38 · 658 阅读 · 0 评论 -
mysql auto start as service windows
mysqld install原创 2019-01-07 16:55:34 · 325 阅读 · 0 评论