install mysq ubuntu code example Example 1: mysqli install ubuntu apt-get install php-mysqlnd Example 2: ubuntu install mysql sudo apt install mysql-server