Note: You will need the root password from the CentOS server for this step. You can
retrieve this password from
/usr/local/billmax/local/billmax.conf
(MYSQL_ADMIN_PASSWD setting).
Note: In the mariadb commands, replace
'PPPPPPP' with the Database Password you supplied when
you installed BillMax on the Debian server.
Fix a few mariadb settings. Execute:
-
mysql -u root -p mysql
-
GRANT ALL PRIVILEGES ON billmax.* TO 'billmax'@'%'
identified by 'PPPPPPP' WITH GRANT OPTION
-
CREATE USER 'mariadb.sys'
-
ALTER USER root@localhost IDENTIFIED VIA
unix_socket
-
FLUSH privileges
-
quit