MariaDB on Raspbian

MariaDB のインストール

# 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


戻る

Jun/07/2020