zoukankan      html  css  js  c++  java
  • MySQL 5.6修改data目录

    默认数据存放位置:

    C:Documents and SettingsAll UsersApplication DataMySQLMySQL Server 5.6

    打开该位置,即可看见my.ini

    修改该配置文件的datadir 属性,并将data文件夹放在你修改后的文件夹路径下,重启mysql服务即可。

    # server_type=3
    [mysqld]
    
    # The next three options are mutually exclusive to SERVER_PORT below.
    # skip-networking
    # enable-named-pipe
    # The Pipe the MySQL Server will use
    # socket=mysql
    
    # The TCP/IP Port the MySQL Server will listen on
    port=3307
    
    # Path to installation directory. All paths are usually resolved relative to this.
    basedir="C:/Program Files/MySQL/MySQL Server 5.6/"
    
    # Path to the database root
    datadir="D:/MySQL Server 5.6/data"
    
    # The default character set that will be used when a new schema or table is
    # created and no character set is defined
    character-set-server=utf8
    
    # The default storage engine that will be used when create new tables when
    default-storage-engine=INNODB
    
    # Set the SQL mode to strict
    sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

     mysqldump -uuser -p123456 ubk_platform > D:data_bakubk_platform.sql

  • 相关阅读:
    spectrogram函数做短时傅里叶分析
    (转) 经典功率谱估计及Matlab仿真
    matlab和C语言实现最小二乘法
    Matlab周期图法使用FFT实现
    vs配置SP++3.0
    VS2015调用matlab Plot函数
    elasticsearch配置文件解析
    elasticsearch.yml
    elasticsearch 动态映射
    elasticsearch _settings
  • 原文地址:https://www.cnblogs.com/tomcattd/p/3523931.html
Copyright © 2011-2022 走看看