# apt install mariadb-server # apt install python3-mysql.connector # apt install php-mysql /etc/mysql/conf.d/mariadb.cnf を修正走っているかの確認[client] default-character-set = utf8 # [mysqld] character-set-server = utf8 collation-server = utf8_general_ci character_set_server = utf8 collation_server = utf8_general_ci
# systemctl status mysql接続
sudo mysql -uroot