Hello,
I'm having trouble connecting to my SQL database from my Centos 7 VPS. I have tried using both mysqli and PDO, both are returning permission denied. I have copied the connection string from an identical OVH system and checked everything hundreds of time but I keep getting permission denied. I have managed to connect via phpmyadmin and through TablePlus with no issues, I just can't acccess via php.
The VPS ip is whitelisted and the user account has been granted administrator for all databases. I have also tried using the SFTP account and still, permission denied. If anyone has any pointers on what to check that would be great. Thanks.
PHP 8.0.27 SQL Permission Denied (can connect via other clients)
Related questions
- Installing Operating System from custom image on OVH VPS ( CentOS 8 Tutorial)
9429
11.01.2020 21:11
- Remote access to MySQL database
4937
16.01.2018 15:29
- Nameserver for my vps
4646
07.08.2018 11:35
- Upgrading your VPS - need to extend your disk? The Easy way!
4580
14.02.2019 16:06
- Redirect domain to vps
4460
03.01.2018 22:32
- IPv6 Configuration
4251
30.07.2018 12:50
- Change server location
3911
06.11.2020 10:16
- Not able to connect to my server at all
3562
17.09.2020 19:56
- How to OVH Firewall and VPN
3528
29.10.2019 12:16
- Test latency of EU data centers
2772
30.01.2019 20:50