diff --git a/install/ubuntu.mdx b/install/ubuntu.mdx index a6349b6..62fa585 100644 --- a/install/ubuntu.mdx +++ b/install/ubuntu.mdx @@ -99,7 +99,16 @@ Next, you’ll need to install MySQL to be used as the production database. sudo apt-get install mysql-server ``` -On newer versions of Ubuntu, the root user created when you install MySQL will by default be configured to use socket-based authentication, meaning that only the root Unix user will be able to authenticate. Ghost does not support this kind of authentication, so you must change the root MySQL user to have a password. Run these commands to make the root user have a password: +On newer versions of Ubuntu, the root user created when you install MySQL will by default be configured to use socket-based authentication, meaning that only the root Unix user will be able to authenticate. Ghost does not support this kind of authentication, so you must change the root MySQL user to have a password. +Also on newer mysql servers 'mysql_native_password' plugin are deprecated you will need to add the following to the mysql config to re-enable this plugin. +```bash +#add to /etc/mysql/*/mysql.cnf +sudo vi /etc/mysql/mysql.conf.d/mysql.cnf +[mysqld] +mysql_native_password=ON +``` + +Run these commands to make the root user have a password: ```bash # Enter mysql @@ -242,4 +251,4 @@ For troubleshooting and errors, use the site search and [FAQ section](/faq/) to ## What’s next? -You’re all set\! Now you can start customising your site. Check out our range of [tutorials](https://ghost.org/tutorials/) or the Ghost [API documentation](/content-api/) depending on which page of this choose-your-own-adventure experience you’d like to subject yourself to next. \ No newline at end of file +You’re all set\! Now you can start customising your site. Check out our range of [tutorials](https://ghost.org/tutorials/) or the Ghost [API documentation](/content-api/) depending on which page of this choose-your-own-adventure experience you’d like to subject yourself to next.