vurnepal.blogg.se

Install mysql debian 9
Install mysql debian 9








install mysql debian 9

When prompted for login credentials, hit enter. Log into MariaDB as the root user: sudo mysql -u root -p The MariaDB client is used through a terminal using the mysql command.

install mysql debian 9 install mysql debian 9

The standard tool for interacting with MariaDB is the mariadb client, which installs with the mariadb-server package. If you decide to bind MariaDB to your public IP, you should implement firewall rules that only allow connections from specific IP addresses. For information on connecting to a remote database using SSH, see our MySQL remote access guide, which also applies to MariaDB.Īllowing unrestricted access to MariaDB on a public IP not advised but you may change the address it listens on by modifying the bind-address parameter in /etc/my.cnf. MariaDB will bind to localhost (127.0.0.1) by default. Install MariaDB using the package manager. The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN) if you have one assigned. You may also wish to set the timezone, create a limited user account, and harden SSH access. See our Getting Started with Linode and Creating a Compute Instance guides.įollow our Setting Up and Securing a Compute Instance guide to update your system and configure your hostname. If you have not already done so, create a Linode account and Compute Instance. If you’re not familiar with the sudo command, you can check our Users and Groups guide. Commands that require elevated privileges are prefixed with sudo. This guide is written for a non-root user.










Install mysql debian 9