Home > Database > Mysql Tutorial > body text

mysql data文件夹位置查找

WBOY
Release: 2016-06-07 17:55:02
Original
1778 people have browsed it

在mysql安装之后,如何找到自己的mysql数据库的安装位置,本文将介绍详细的解决方法,需要的朋友可以参考下

找到自己的mysql数据库的安装位置,如下
C:\Program Files\MySQL\MySQL Server 5.1,在它里面有个的my.ini文件,寻找如下行:
[mysqld]
代码如下:
# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.1/"
#Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/"
# The default character set that will be used when a new schema or table is

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!