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
.zip
file (.msi
, though you receive.msi
And extract 7 from the files using zip or orca). -
Extract files. At least you have
bin
andshare
directory (in fact, inbin
, you can actually enter onlymysqld.exe to run the server as the full min)
Edit
my.ini
to changebasedir
andDatadir
to some relative For example the path:basedir = ".." datadir = "/ MySQLdb"
If you have existing Do not have a database, then create one:
mysqld --bootstrap
To run the server (you have
Switch to switch-grant-tables
to 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 mysqld
If you get errors, delete log files (e.g.,
logs
) and run it again.
Comments
Post a Comment