Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jack2jm/8f27122059372ea93311f957e886f3bc to your computer and use it in GitHub Desktop.
Save jack2jm/8f27122059372ea93311f957e886f3bc to your computer and use it in GitHub Desktop.
Setup Xampp server in Ubuntu 22.04
Error:
dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.
Errors we re encountered while processing: mysql-server-8.0 mysql-server E: Sub-process /usr/bin/dpkg returned an error code
Step to encount the error:
1. sudo apt-get clean
2. sudo apt-get purge mysql*
3. sudo apt-get updateYou10:58
4. sudo apt-get purge mysql*
5. sudo apt-get autoremove
6. sudo apt-get autoclean
7. sudo apt-get dist-upgrade
8. sudo apt-get install mysql-server
http://localhost/phpmyadmin
For MySQL REMOVE AND INSTALL
========================
sudo apt-get purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get dist-upgrade
sudo apt-get install mysql-server
Reference for download xampp link: https://vitux.com/ubuntu-xampp
1. sudo /opt/lampp/lampp start
2. sudo /etc/init.d/apache2 stop
3. sudo /opt/lampp/./manager-linux-x64.run
Start all service in xampp for manage server module.
if Mysql database service is stopped then,
4. sudo systemctl start mysql.service
5. sudo systemctl status mysql
6. sudo systemctl start mysql
7. sudo systemctl restart mysql
8. sudo systemctl enable mysql
9. sudo /opt/lampp/./manager-linux-x64.run
10. sudo service mysql stop
11. sudo /opt/lampp/lampp start
12. http://localhost/phpmyadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment