Page 1 of 1

Web Server -> Sql Server problem

Posted: Wed Jan 02, 2019 7:52 am
by erol
Hello.

First, I installed only web server.
Second, I installed only mysql server.

Configs are OK. I can connect to mysql server from my localhost also. But in first server (web server) there is no mysql connection extensions !!!???? What a big problem! I had to install php_mysql by myself. Now I can use mysqli_connect() function. Before that, I got "function not found" errors. I can connect to sql server from web server. but vesta cp admin panel cant connect there still. All configs are OK include (v-add-database-host AND ports/firewalls)

Now, I tried to install web server with mysql server :))) And I stoped to mysql server. This server works perfect.
But Why I must to install mysql to my webserver ??? Why I can not connect without installing mysql :(

Re: Web Server -> Sql Server problem

Posted: Sun Jan 13, 2019 7:05 pm
by skamasle
Hi

Maybe the problem here is than you need install mysql-client, so vestacp connect with server with bash, and remote or local mysql you need a client, for connections from bash you need install mysql-client ( not server but you need a client to connect)