Report any technical problems you discover and discuss solutions.

Database not on localhost

Plus d'informations
il y a 12 ans 3 mois #1581 par thebrentc
Database not on localhost a été créé par thebrentc
Hi
Setup failed at one of the early steps for me, with a problem connecting as the specified user.

It seemed to want php_value mysql.default_host <whatever> in an .htaccess (LAMP server), because if this value is not defined it defaults to localhost for mysql_connect.

Just in case it's useful.

B

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 3 mois #1582 par thebrentc
Réponse de thebrentc sur le sujet Database not on localhost
that would be xerte online toolkits 2.1.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 3 mois #1585 par tom
Réponse de tom sur le sujet Database not on localhost
Is that the latest 2.1?

I'regurarly install XOT on LAMP with MySQL on a different server, and it has never failed for me on that particular error.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 3 mois #1590 par thebrentc
Réponse de thebrentc sur le sujet Database not on localhost
Thanks

Downloaded two days ago so should be latest.

It seemed stuck and to progress when I set the value, after seeing on php.net:
"..If the PHP directive mysql.default_host is undefined (default), then the default value is 'localhost:3306'. In SQL safe mode, this parameter is ignored and value 'localhost:3306' is always used. .."

B

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 3 mois #1591 par tom
Réponse de tom sur le sujet Database not on localhost
Is the correct server mentioned in database.php?

If not, then somthing went wrong during installation. You should be able to fill it in there. You shouldn't have to change it in php.ini

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 3 mois #1592 par thebrentc
Réponse de thebrentc sur le sujet Database not on localhost
I didn't check database.php at the time. It might well be something else went wrong- we'd been going back and forth already, and I think we'd confused the session. Sorry, not a great issue report. Anyway, it's all installed and looking happy now!

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.129 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo