![]() That will install apache2, mysql, php, and all dependencies and configure them to be ready to use in the way that is standard to Ubuntu.This tutorial provides all the steps required to install MySQL 8 on Ubuntu 18.04 LTS. You should normally install “LAMP” in ubuntu with, not using XAMPP: XAMPP doesn’t install things the way that is standard to Ubuntu and this is what causes most of the problems – you essentially are troubleshooting the weirdness this package injects into your system. You could spend more time trying to figure it out, but it wouldn’t be worth it. If this doesn’t work do #1 and stop wasting time. Clean up any of the mysql packages you tried to install, and then attempt to redo it. Even though this package predominately resides in opt it places scripts and config all over the place. Make sure you uninstall mysql well, then have another go… You cannot have MariaDB and MySQL on the same computer (they’re the same program, using the same ports, and locking the same resources). Manually uninstall the XAMPP package by running its uninstaller in the /opt folder. YMMV with this, but at least you are sure then there are no dependency conflicts and you could spend a lot of time fixing that. Often this is the easiest thing to do with an Ubuntu machine and isn’t as laborious of a process as it would be in Windows or something else. If you’re uncertain of which packages you have laying around back your data, wipe, and reload. It will not run if any other MariaDB/MySQL exists. The MySQL install in Ubuntu starts the server to run the configuration process and will never complete if it doesn’t run. It installs MariaDB which is a fork of MySQL and it grabs the ports. XAMPP will conflict easy enough to answer on that. Is it because I installed XAMPP before SQL server? Sudo apt update & sudo apt dist-upgrade & sudo apt autoremove & sudo apt -f install On stackoverflow I saw this so I gave it a try: mysql-server-5.7 is not configured yet - Stack Overflow sudo apt purge mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 mysql-server I tried them all but they all did not work. It tells me there are a few ways to do a work around : Web site I went to : “sub process usr bin dpkg returned an error code 1″ I did a simple google search about the main error : ![]() Įrrors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) Processing triggers for ureadahead (0.100.0-21). Processing triggers for man-db (2.8.3-2ubuntu0.1). Processing triggers for systemd (237-3ubuntu10.39). Processing triggers for libc-bin (2.27-3ubuntu1). Package mysql-server-5.7 is not configured yet.ĭpkg: error processing package mysql-server (-configure):ĭependency problems - leaving unconfigured Mysql-server depends on mysql-server-5.7 however: ![]() No apport report written because the error message indicates its a followup error from a previous failure.ĭpkg: dependency problems prevent configuration of mysql-server: Installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1 ![]() Renaming removed key_buffer and myisam-recover options (if present)ĭpkg: error processing package mysql-server-5.7 (-configure): Update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Guys sorry for the harsh tone I am just simply want to solve this issue asap.Įrrors I got : Setting up mysql-server-5.7 (5.7.29-0ubuntu0.18.04.1).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |