Never confuse education with intelligence, you can have a PhD and still be an idiot.
- Richard Feynman -



Difference between revisions of "Mariadb on cygwin"

From Juneday education
Jump to: navigation, search
(Procedure)
(Procedure)
Line 9: Line 9:
 
== Procedure ==  
 
== Procedure ==  
  
First, we need to install the MariaDB software. This command may take some minutes to complete.
+
Launch the [[cygwin]] setup program and install the packages <code>mysql</code> and <code>mysqld</code>. Now we need to install the MariaDB software with the following command.
 
<source lang="bash">
 
<source lang="bash">
 
mysql_install_db
 
mysql_install_db
 
</source>
 
</source>
 +
''Note: This command may take some minutes to complete.''
  
 
Now, we start the MariaDB server.  
 
Now, we start the MariaDB server.  
Line 18: Line 19:
 
mysqld_safe &
 
mysqld_safe &
 
</source>
 
</source>
 
 
''Note: You might get a firewall notice if the firewall is up and running!''
 
''Note: You might get a firewall notice if the firewall is up and running!''
  

Revision as of 14:59, 26 June 2017

Installation

Preparations

  1. Disable your windows firewall.
  2. Start a cygwin terminal (running bash).

Procedure

Launch the cygwin setup program and install the packages mysql and mysqld. Now we need to install the MariaDB software with the following command.

mysql_install_db

Note: This command may take some minutes to complete.

Now, we start the MariaDB server.

mysqld_safe &

Note: You might get a firewall notice if the firewall is up and running!

To finish things off we secure the installation:

mysql_secure_installation

When this script is executing you will get a couple of questions.

aslklasdj