First of all it's a brilliant introduction. Thanks for this.
I was not presented with the option to configure mySQL when installing lamp-server^, and I struggled to set the root password afterwords. Is there an easy way to fix this?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! We are currently investigating and will update you shortly.
@MicahMcKittrick-MSFT - Please assign this to me, since I think a documentation update is likely needed.
@OMARI1988 - Thanks for the question. I also found on Ubuntu 18.04 LTS that there is no longer a prompt to set a MySQL password during the lamp-server^ package installation. However, I was able to accomplish this after installation by running sudo mysql_secure_installation (the sudo was required to run the script successfully). Can you please try this and let us know if it solves your problem. I will update the article accordingly. Thanks!
I can confirm that using sudo mysql_secure_installation solved the problem. Thanks!
@OMARI1988 Thank you for confirming that it works for you.
I will keep the issue open as the author will be updating the doc with this information.
@OMARI1988 - Thank you for confirming! And I published an update to the article to address this issue.
Most helpful comment
@MicahMcKittrick-MSFT - Please assign this to me, since I think a documentation update is likely needed.
@OMARI1988 - Thanks for the question. I also found on Ubuntu 18.04 LTS that there is no longer a prompt to set a MySQL password during the lamp-server^ package installation. However, I was able to accomplish this after installation by running
sudo mysql_secure_installation(thesudowas required to run the script successfully). Can you please try this and let us know if it solves your problem. I will update the article accordingly. Thanks!