Reputation: 2235
I've been trying to use my mysql noinstall zip archive and the steps that I found in some of the websites are not descriptive. Can someone help?
Upvotes: 10
Views: 31147
Reputation: 42414
If you follow the instruction here you will be alright. From that page:
Users who are installing from the noinstall package can use the instructions in this section to manually install MySQL. The process for installing MySQL from a Zip archive is as follows:
- Extract the archive to the desired install directory
- Create an option file
- Choose a MySQL server type
- Start the MySQL server
- Secure the default user accounts
To start the sever run
mysqld --console
and after that run
mysql -u root
to start doing whatever you want.
Notice that MySql will function exactly the same as if you would have installed or configured it to run as a service. Your schema's are stored on disk. If you start it after you've stopped it your previous data will still be there. So it doesn't turn magically into an in-memory database.
Upvotes: 10
Reputation: 133
If you want to install the MySQL database as a service you can use the command below.
mysqld.exe --install
Upvotes: 9