Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

NGINX how a virtual host have access to main MariaDB

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>