

You don’t need to do this if the application that uses MySQL If you have iptables enabled and want to connect to the MySQL database fromĪnother machine, you must open a port in your server’s firewall (the default To the root user and setting the root password. This utility prompts you to define the mysql root passwordĪnd other security-related options, including removing remote access

Installation completes, enter the following command: sudo mysql_secure_installation utility If the secure installation utility does not launch automatically after the The installer installs MySQL and all dependencies. Install the MySQL server by using the Ubuntu operating system package manager: sudo apt-get update You might need to install other packages to letĪpplications use MySQL, like extensions for PHP. This article describes a basic installation of a MySQL database server on It isĪ good choice if you know that you need a database but don’t know much about MySQL is an open-source relational database that is free and widely used.
