From 629443d1f6059e36ad68821a6dba1dec8a01840c Mon Sep 17 00:00:00 2001 From: MaryKilewe Date: Thu, 21 Nov 2024 09:07:56 +0000 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 19bda377..416b4ac2 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,17 @@ Change line bind-address = 127.0.0.1 to #bind-address = 127.0.0.1 #### b) MySQL 5.6 - add the line if it does not exists bind-address = * +#### b) MySQL 8 - add the line if it does not exists + bind-address = 0.0.0.0 +Incase there are some issues binding addred in mysql version 8, try the steps below +```sh +sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf or sudo gedit /etc/mysql/mysql.conf.d/mysqld.cnf + +update this two lines : - bind-address = 127.0.0.1 mysqlx-bind-address = 127.0.0.1 +to this : - bind-address = 0.0.0.0 mysqlx-bind-address = 0.0.0.0 +restart mysql +``` + 2. Create a DWAPI database user for MySQL ```sh create user 'dwapi'@'%' identified by 'dwapi';