Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 07:32:38

Author Topic: could not open database connection.  (Read 15521 times)

0 Members and 1 Guest are viewing this topic.

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #15 on: 2013-08-15, 16:11:35 »
i have update kloxo to latest still same error please help.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #16 on: 2013-08-15, 16:17:21 »
It's not related to Kloxo-MR but mysql itself.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #17 on: 2013-08-15, 16:21:46 »
can you please take login details and see what is causing the problem?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #18 on: 2013-08-15, 16:30:18 »
Send your ssh and Kloxo-MR panel access via PM to me.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #19 on: 2013-08-15, 18:20:49 »
sent please check.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #20 on: 2013-08-15, 18:51:57 »
Change djbdns to bind and mysql to MariaDB (from mariadb.org).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #21 on: 2013-08-15, 18:53:32 »
why not using djbdns? also what was the problem with mysql?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #22 on: 2013-08-15, 19:06:44 »
There something wrong with djbdns code. It's not djbdns config for domains but djbdns itself.

Not sure about mysql but mysql from Centos 5 too old and for Centos 5 better using MariaDB from mariadb.org.

But, MariaDB from mariadb.org have a problem on Centos 6 and better using mariadb from centalt.ru.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #23 on: 2013-08-15, 20:08:15 »
but i think mariadb use more ram than mysql?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #24 on: 2013-08-15, 20:27:15 »
Quote from: "onemanarmy"
but i think mariadb use more ram than mysql?
Yes, but you have 12GB RAM and it's no critical issue on your server.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #25 on: 2013-08-15, 20:39:24 »
you are right but what if i have less ram what is the minimum ram that can run mariadb fine?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #26 on: 2013-08-15, 20:52:52 »
For vps with 512MB or more, better using MariaDB instead MySQL.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #27 on: 2013-08-15, 22:06:47 »
thank you very much mustafa.
one more thing my other vps is using bind and it is showing this message

Code: [Select]
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
named (pid  2189) is running...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: could not open database connection.
« Reply #28 on: 2013-08-15, 22:26:01 »
Don't care about rndc. From where you see above message?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline onemanarmy

  • Valuable Member
  • *
  • Posts: 128
  • Karma: +0/-0
    • View Profile
Re: could not open database connection.
« Reply #29 on: 2013-08-15, 22:30:27 »
when i execute service named status i see that status in my other vps.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.035 seconds with 18 queries.

web stats analysis