portability - MySql portable version -
Anyone know the portable version of mysql?
I know xampp but it comes with PHP and Apache
Does anybody know how to separate mysql?
You can download MySQL Essentials to use the relative path instead of the version and full path < Make some small changes to the directories in the code> my.ini file. You can then run the server directly without installing or using a Windows service.
-
Download a MySQL
.zipfile (.msi, though you receive.msiAnd extract 7 from the files using zip or orca). -
Extract files. At least you have
binandsharedirectory (in fact, inbin, you can actually enter onlymysqld.exe to run the server as the full min)Edit
my.inito changebasedirandDatadirto some relative For example the path:basedir = ".." datadir = "/ MySQLdb"If you have existing Do not have a database, then create one:
mysqld --bootstrapTo run the server (you have
Switch to switch-grant-tablesto leave it until you set up your MySQL user):mysqld- < Li>
current low To avoid the server running in the prompt, you can use the following to run it in your own console which must be missing after running:
start mysqldIf you get errors, delete log files (e.g.,
logs) and run it again.
Comments
Post a Comment