以下是在Debian上配置SQLAdmin的步骤:
sudo apt update
,sudo apt install mysql-server
,安装过程中可设置root密码。CREATE USER 'sqladmin'@'localhost' IDENTIFIED BY 'your_password'; GRANT ALL PRIVILEGES ON *.* TO 'sqladmin'@'localhost'; FLUSH PRIVILEGES;
。sudo add-apt-repository ppa:sqladmin/stable
,sudo apt update
,sudo apt install sqladmin
。/etc/sqladmin/sqladmin.conf
,设置数据库连接等信息。sudo systemctl start sqladmin
,并设置开机自启动sudo systemctl enable sqladmin
。