MySql portable version

前端 未结 3 2055
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 15:45

anyone know a portable version of mysql?

I know xampp but it comes with PHP and Apache together

anyone know how to isolate the mysql?

3条回答
  •  攒了一身酷
    2020-12-13 16:46

    Created a portable configuration at https://sourceforge.net/projects/mysql-server-portable/

    You should put your my.cnf or my.ini in a different directory than your data directory.

    You will then need to initialize your portable version,

    "\mysql-5.7.30-winx64\bin\mysqld" --defaults-file="\mysql-5.7.30-winx64\config\my.ini" --standalone --explicit_defaults_for_timestamp --initialize
    

    then you can start your portable version,

    "\mysql-5.7.30-winx64\bin\mysqld" --defaults-file="\mysql-5.7.30-winx64\config\my.ini" --standalone --explicit_defaults_for_timestamp
    

提交回复
热议问题