以下是在Debian上搭建SQLAdmin环境的步骤:
sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation
CREATE USER 'sqladmin'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON *.* TO 'sqladmin'@'localhost' WITH GRANT OPTION;
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
http://<your_server_ip>:8080,使用创建的用户登录验证。