Jump to content
Froxlor Forum
  • 0

Froxlor support distant database ?


LeDistordu

Question

I have a Mariadb Galera Cluster and i search web panel for my web server. But Froxlor is build to run standalone with local database and if i try to run with my cluster :

 

 

A database error occured

SQLSTATE[HY000] [2002] No such file or directory

 

#0 /var/www/froxlor/lib/classes/database/class.Database.php(285): PDO->__construct('mysql:dbname=fr...', 'froxlor-lep01', 'DB_UNPRIV_PWD', Array)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(178): Database::getDB()
#2 /var/www/froxlor/lib/classes/settings/class.Settings.php(84): Database::__callStatic('query', Array)
#3 /var/www/froxlor/lib/classes/settings/class.Settings.php(84): Database::query('\n\t\t\t\tSELECT `se...')
#4 /var/www/froxlor/lib/classes/settings/class.Settings.php(67): Settings->_readSettings()
#5 /var/www/froxlor/lib/classes/settings/class.Settings.php(227): Settings->__construct()
#6 /var/www/froxlor/lib/classes/settings/class.Settings.php(247): Settings::getInstance()
#7 /var/www/froxlor/lib/init.php(186): Settings::__callStatic('Get', Array)
#8 /var/www/froxlor/lib/init.php(186): Settings::Get('session.session...')
#9 /var/www/froxlor/index.php(21): require('/var/www/froxlo...')
#10 {main}

 

All info in /var/www/froxlor/lib/userdata.inc.php is ok, the Froxlor installer successfully create database.

 

Froxlor create table in MyIsam, for Galera would require that the tables are created in innodb for replication.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

PHP warning/error

#8 Undefined index: English

 

/var/www/froxlor/lib/init.php:319

 

PHP warning/error

#2 Invalid argument supplied for foreach()

 

/var/www/froxlor/lib/init.php:319

 

PHP warning/error

#8 Undefined index:

 

/var/www/froxlor/lib/init.php:325

 

PHP warning/error

#2 Invalid argument supplied for foreach()

 

/var/www/froxlor/lib/init.php:325

 

PHP warning/error

#8 Undefined variable: lng

 

/var/www/froxlor/lng/lng_references.php:23

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/lng/lng_references.php:24

 

PHP warning/error

#8 Undefined index: changepassword

 

/var/www/froxlor/lng/lng_references.php:25

 

PHP warning/error

#8 Undefined index: changepassword

 

/var/www/froxlor/lng/lng_references.php:26

 

PHP warning/error

#8 Undefined index: changepassword

 

/var/www/froxlor/lng/lng_references.php:27

 

PHP warning/error

#8 Undefined index: customer

 

/var/www/froxlor/lng/lng_references.php:28

 

PHP warning/error

#8 Undefined index: customer

 

/var/www/froxlor/lng/lng_references.php:29

 

PHP warning/error

#8 Undefined index: customer

 

/var/www/froxlor/lng/lng_references.php:30

 

PHP warning/error

#8 Undefined index: domains

 

/var/www/froxlor/lng/lng_references.php:31

 

PHP warning/error

#8 Undefined index: ticket

 

/var/www/froxlor/lng/lng_references.php:32

 

PHP warning/error

#8 Undefined index: ticket

 

/var/www/froxlor/lng/lng_references.php:33

 

PHP warning/error

#8 Undefined index: ticket

 

/var/www/froxlor/lng/lng_references.php:34

 

PHP warning/error

#8 Undefined index: ticket

 

/var/www/froxlor/lng/lng_references.php:35

 

PHP warning/error

#8 Undefined index: domains

 

/var/www/froxlor/lng/lng_references.php:40

 

PHP warning/error

#8 Undefined index: translator

 

/var/www/froxlor/lib/init.php(512) : eval()'d code:13

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/index.php:247

 

PHP warning/error

#8 Undefined index: update

 

/var/www/froxlor/index.php:287

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/index.php(304) : eval()'d code:34

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/index.php(304) : eval()'d code:38

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/index.php(304) : eval()'d code:42

 

PHP warning/error

#8 Undefined index: login

 

/var/www/froxlor/index.php(304) : eval()'d code:47

 

 

Link to comment
Share on other sites

I Think It's problem with distant mariadb galera 

 

If i test with local database there is no problem !

 

My distant database :  mariadb-galera-server-10.0         10.0.17+maria-1~wheezy

 

No problem at installation but i have php warning... And table are create with MyISAM, not good for galera replication

 

 

After search :

 

http://forum.froxlor.org/index.php/topic/11844-clustercloudgalera-support/

 

 

We need a Froxlor compatibility with High Availability structure or your script will not be use by pro

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...