Home >Database >Mysql Tutorial >通过Mysql语句得到mysql安装路径_MySQL

通过Mysql语句得到mysql安装路径_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:43:501069browse

bitsCN.com  
1、通过Mysql语句得到mysql安装路径:
select @@basedir as basePath from dual
 
 
2、通过dos命令将库导出,要到mysql安装目录bin下:
C:/Program Files/MySQL/MySQL Server 5.0/bin>mysqldump.exe -u root -p test > a.txt bitsCN.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn