Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing mysql noinstall zip archive

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?

like image 428
Sripaul Avatar asked Aug 22 '12 11:08

Sripaul


1 Answers

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.

like image 158
rene Avatar answered Oct 20 '22 17:10

rene