I would recommend installing MySQL using Homebrew: brew install mysqlĪfter that start MySQL: brew services start mysqlĪnd finally, secure it: mysql_secure_installation The above should also work just fine on Debina. With that, you would have MySQL installed on your Ubuntu server. Then follow the prompt and finally choose a secure password and save it in a secure place like a password manager. In order to secure your MySQL server, you could run the following command: sudo mysql_secure_installation In order to check if MySQL is running, run the following command: sudo systemctl status mysql. We are installing 2 packages, one is the actual MySQL server, and the other is the MySQL client, which would allow us to connect to the MySQL server and run our queries. Sudp apt install mysql-server mysql-client Installing MySQLĪs we are going to use Ubuntu, in order to install MySQL run the following commands: We would be using MySQL as it is free, open-source, and very widely used. Now that you know what a database, table, and column are, the next thing that you would need to do is install a database service where you would be running your SQL queries on.
0 Comments
Leave a Reply. |