mysqldump -h '114.212.111.123' -uROSE -pxxxooo --opt --compress ITSM --skip-lock-tables | mysql -h localhost
-uroot -proot ITSMC
解释:
114.212.111.123 远程服务器名称
ROSE 远程数据库登录名
xxxooo 远程数据库登录密码
...
分类:
数据库 时间:
2015-05-15 13:39:09
阅读次数:
259
最近看了一种数据结构叫做skipList,redis和levelDB都是用了它。Skip List是在有序链表的基础上进行了扩展,解决了有序链表结构查找特定值困难的问题,查找特定值的时间复杂度为O(logn),他是一种可以代替平衡树的数据结构。 下面是skipList的一个介绍,转载来的,源地...
分类:
其他好文 时间:
2015-05-15 13:28:09
阅读次数:
121
There are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to...
分类:
其他好文 时间:
2015-05-15 01:02:35
阅读次数:
157
There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 you have to firs...
分类:
其他好文 时间:
2015-05-14 18:00:08
阅读次数:
137
题目:leetcode
Course Schedule II
There are a total of n courses you have to take, labeled from 0 to n
- 1.
Some courses may have prerequisites, for example to take course 0 you have ...
分类:
其他好文 时间:
2015-05-14 12:09:02
阅读次数:
119
如果是root密码:
方法一:
MySQL提供跳过访问控制的命令行参数,通过在命令行以此命令启动MySQL服务器:
safe_mysqld --skip-grant-tables&
即可跳过MySQL的访问控制,任何人都可以在控制台以管理员的身份进入MySQL数据库。
需要注意的是在修改完密码以后要把MySQL服务器停掉重新启动才会生效
方法二:
可以进行如下的步骤重新设置MySQL的r...
分类:
数据库 时间:
2015-05-14 08:45:15
阅读次数:
129
There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 you have to firs...
分类:
其他好文 时间:
2015-05-14 00:57:32
阅读次数:
98
Function Take-ScreenShot { #Requires -Version 2 [cmdletbinding( SupportsShouldProcess = $True, DefaultParamete...
分类:
其他好文 时间:
2015-05-13 19:12:17
阅读次数:
89
Function Take-ScreenShot { #Requires -Version 2 [cmdletbinding( SupportsShouldProcess = $True, DefaultParamete...
分类:
其他好文 时间:
2015-05-13 19:01:09
阅读次数:
166
首先关闭mysql使用命令行启动mysql(一般要找到mysql.ini文件) 在windows上mysql.ini文件可以通过查看当前mysql进程参数查看到,具体方法点此在启动mysql命令行最后加上: --skip-grant-tables 参数其他的一些方法:1. 向mysqld serve...
分类:
数据库 时间:
2015-05-13 18:40:29
阅读次数:
134