Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Web Server -> Sql Server problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
erol
Posts: 3
Joined: Wed Jan 02, 2019 7:42 am

Os: CentOS 5x
Web: apache + nginx
Web Server -> Sql Server problem
  • Quote

Post by erol » Wed Jan 02, 2019 7:52 am

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 :(
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Web Server -> Sql Server problem
  • Quote

Post by skamasle » Sun Jan 13, 2019 7:05 pm

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)
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password