摘要:Mysql版本:5.11、首先检查mysql服务是否启动,若已启动则先将其停止服务,可在开始菜单的运行,使用命令: net stop mysql打开第一个cmd窗口,切换到mysql的bin目录,运行命令: mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" --console --skip-grant-tables 注释: 该命令通过跳过权限安全检查,开启mysql服务,这样连接mysql时,可以不用输入用户密码。2、打开第二个cmd窗口,连接mysql: 输入命令: mysql
阅读全文
04 2012 档案
摘要:本文出自 “从cisco走向linux” 博客查看指定的存储过程内容:select body from mysql.proc where name='procedurename';查看所有的存储过程:show procedure status;导出MySQL的存储过程mysqldump -uroot -p -hlocalhost -P3306 -n -d -t -R DBName > procedurename.sql参数说明:-n: --no-create-db-d: --no-data-t: --no-create-info-R: --routines Dump st
阅读全文

浙公网安备 33010602011771号