Jump to content
  • 0
rmon

Message: SQLSTATE[HY000] [2002] Permission denied

Question

Hi Everyone,

I just wanted to check, what are the ports needed to open in order for me to install fluxcp ? 
- my current ports that is open : 3306 inbound & outbound Both Debian 10 & CentOS7

i have two(2) AWS instance 
Debian10 - Server that holds rathena files 
CentOS7 - Holds Fluxcp Files 

I add the user inside Debian10
CREATE USER 'fluxcpUser'@'CentOS7_IP' IDENTIFIED BY 'MyPassword';
GRANT ALL PRIVILEGES ON MyDatabase_on_Debian10_main . * TO 'fluxcpUser'@'CentOS7_IP';
GRANT ALL PRIVILEGES ON MyDatabase_on_Debian10_logs . * TO 'fluxcpUser'@'CentOS7_IP';
FLUSH PRIVILEGES;

but im still having this issue 

Error: PDOException

Message: SQLSTATE[HY000] [2002] Permission denied

File: /var/www/html/fluxcp/lib/Flux/Connection.php:81

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@Brynner

Thanks ! 

i actually use % instead of the centos7 IP and it works 

CREATE USER 'myName'@'%' IDENTIFIED BY 'MyPAssword';
GRANT ALL PRIVILEGES ON MyDB . * TO 'myName'@'%';
GRANT ALL PRIVILEGES ON MyDb_logs . * TO 'myName'@'%';
FLUSH PRIVILEGES;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.