Do you have any ideas to resolve this problem? Choose a strong password and keep it in a safe place for future reference. Done Building dependency tree Reading state information. Other names may be trademarks of their respective owners. I found this solution I have got this working: apt-get remove --purge mysql-client-5. After an upgrade, I do not know why but it was left misconfigured, which prevented it from being uninstalled properly.
Need to get 1,923 kB of archives. You should remove them before moving into a production environment. Other names may be trademarks of their respective owners. I've resolved this issue - I had to change pin priority of mysql packages. The output will show two areas of interest: General recommendations and Variables to adjust. Are you having issues installing other packages using apt-get? It checks the strength of password and allows the users to set only those passwords which are secure enough.
Please use the full name instead. Does anyone else have any suggestions for me to try? For this reason, we recommend using a for such setups. Input a secure password and same to confirm password window. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials. Step 1 — Prerequisites Login to your Debian 8 system using shell access. Please try this and leave your comments. You will again be asked to set a root password.
You have to specify version which you want to install, if it is different than your default version in apt-cache policy in this case it's not clean debian, but modified version, so apt sources are slightly different, pins etc. Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: mysql-server-5. Of course other php extensions would need installed too. Optional arguments are db and host. Your answer did completely remove mysql 5. This will require the root password configured in step 3 to connect database server.
Important Make sure you remember the root password you set. To learn more, see our. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Done Building dependency tree Reading state information. Trying to fix a broken mysql installation, this happened after upgrading from debian 6.
Enter it twice please and you should be finished. This is also intended only for testing, and should be removed before moving into a production environment. Last step is to restart your web server for all extensions to load:. Press y Y for Yes, any other key for No : y - Dropping test database. Beware you will lose config files datyabases? The do the high security provide all answers to yes. So to install Apache run the below commands: apt - get install apache2 By default you should have the repository for installing this. I have done the following so far: 1.
Provide details and share your research! Installing the Mysql server In my next step it would the Mysql server 5. Commands that require elevated privileges are prefixed with sudo. These contain binaries only and are installed automatically by the standard packages. Debian file for more information. I will keep chugging along. This will prompt some questions. Done Building dependency tree Reading state information.
It looks like your missing dpkg. I will set the log and get the error soon. During this process, having root user access, sometimes called privileged access, may be necessary to complete the setup. Once you set the root password the script will also ask you to remove the anonymous user, restrict root user access to the local machine and remove the test database. Takes database name as argument.