Hi !
Sorry for my bad english i speak french normally.
i have a VPS on OVH provider.
I have install NGINX, PHP7 and MariaDB on my VPS.
I have access to MariaDB if i use my generic website look like : vpsXXXX.vps.ovh.ca
I configure NGINX to create a Virtual Host for another domain : skwad.me
Everytime when i try to connect on MariaDB database i receive : SQLSTATE[HY000] [1049] Unknown database 'skwadme'
If i run the same code on my generic website : vpsXXXX.vps.ovh.ca it's working fine.
Thank you for your helping !
LiTHiUM2525
Sorry for my bad english i speak french normally.
i have a VPS on OVH provider.
I have install NGINX, PHP7 and MariaDB on my VPS.
I have access to MariaDB if i use my generic website look like : vpsXXXX.vps.ovh.ca
I configure NGINX to create a Virtual Host for another domain : skwad.me
Everytime when i try to connect on MariaDB database i receive : SQLSTATE[HY000] [1049] Unknown database 'skwadme'
If i run the same code on my generic website : vpsXXXX.vps.ovh.ca it's working fine.
Thank you for your helping !
LiTHiUM2525