Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation de Jorani #407

Open
jeromelecanu opened this issue Jan 22, 2024 · 1 comment
Open

Installation de Jorani #407

jeromelecanu opened this issue Jan 22, 2024 · 1 comment

Comments

@jeromelecanu
Copy link

Bonjour Github,

J'ai installé Jorani 1.0.2 sur un sous-domaine d'OVH.
J'ai "essayé" de paramétrer la base de données sur database.php
Que faut-il mettre pour 'dsn' => 'mysql:host=???;dbname=???'

Je n'arrive pas à me connecter à la base.
J'ai ce message d'erreur :

An uncaught Exception was encountered

Type: Error

Message: Call to undefined function mysql_connect()

Filename: /home/dpldxkv/test/system/database/drivers/mysql/mysql_driver.php

Line Number: 137

Merci pour votre aide à venir.
Jérôme

@ready2play32
Copy link

Bonjour,
Voici un exemple :
'dsn' => 'mysql:host=localhost;dbname=jorani',

pour la valeur dbdriver:
'dbdriver' => 'pdo',

Cordialement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants