Question
Setting Up NGINX with Wordpress - MYSQL Setup
I'm wanting to migrate an existing Wordpress installation to my new droplet.
I created a droplet with the default LAMP stack. I thought I would try NGINX, so I removed Apche and installed Nginx, referring to
https://www.digitalocean.com/community/articles/how-to-configure-single-and-multiple-wordpress-site-settings-with-nginx
https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime
I'm not clear what needs to be done to setup Mysql. Do I need to follow step 2 as outlined here:
https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu
If I try to run the install script, it appears the root password for mysqp has already been set, so I'm not sure if this step is needed or not
root@portlandhdgraphics:/usr# /usr/bin/mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'local
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×