Hi all,
I want to separate database server and application server, what is the best suggestion to do that?
Thanks
There is a command in bench for setting mariadb host.
bench set-mariadb-host --help
Usage: bench set-mariadb-host [OPTIONS] HOST
Set MariaDB host for bench
Options:
--help Show this message and exit.
Hi Mr @saidsl
I tried your solution in the session but I have the following error
bench mysql
ERROR 1045 (28000): Access denied for user ‘ffe5c07507’@‘46.101.237.84’ (using password: YES)
any help plz
Thanks
It seems that bench is accessing the mysql with its own user.
Try adding user:
ffe5c07507
Using this command:
Grant Privilegies to root as GRANT ALL PRIVILEGES ON *.* TO 'ffe5c07507'@'%' IDENTIFIED BY '[ROOT-SQL-PASSWORD]' WITH GRANT OPTION;
Frappe database and database user have same name.
so if ffe5c07507
is database name then there should be a user named ffe5c07507
with access to this database.
Also no need to give privileges to this user to access other databases. Only accessing ffe5c07507
is fine, *.*
not necessary.
Recently faced this while configuring Amazon RDS