Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Database user permissions on clean install

  • jtoomey
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
7 jaren 6 maanden geleden #5611 door jtoomey
Database user permissions on clean install werd gestart door jtoomey
Hello,

trying to do a clean install of Xerte X on a public server. I get as far as the create database page and get SQLSTATE[28000] [1045] Access denied for user everytime.

I've asked our DBAs to give the user Create and Write access to the database and I can Create and Write to the database using a SQL client, but Xerte can't create a new database in the set up wizard

Does anyone know what the specific user permissions should be for the User setting up the database, or have any tips on where I might be missing something?

Cheers
Jon

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 6 maanden geleden #5612 door ronm
Beantwoord door ronm in topic Database user permissions on clean install
Hi
If you’re creating the empty database in advance just create a user just for that database and grant that user all privileges.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 6 maanden geleden #5613 door tom
Beantwoord door tom in topic Database user permissions on clean install
Also, sometimes the issue is not in the permissions, but the name of the database.

For example, do not use a hyphen (-) in the database name. Xerte's code is not able to handle that at the moment.

(Needs to be fixed).

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 6 maanden geleden #5614 door ronm
Beantwoord door ronm in topic Database user permissions on clean install
cant say I've ever noticed that Tom but I guess because I (or the system in use) always use underscore rather than hyphen.

Also on that note with cpanel set up etc the database name usually becomes cpanelusername_dbname so during xerte setup that needs to be the same in the form field of the setup page.

HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • jtoomey
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
7 jaren 6 maanden geleden #5615 door jtoomey
Beantwoord door jtoomey in topic Database user permissions on clean install
Ah thanks both,

I harassed our DBA a bit more and I was using the wrong password. Doh!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 1 maand geleden #6610 door jim.lowe
Beantwoord door jim.lowe in topic Database user permissions on clean install
Dear Tom and Community

Has the use of - in database name been fixed in the latest code?
The reason I ask is because I cannot get past the page2 of the setup as it generates an error as "Please investigate the error messages and return to the previous page by pressing the button below! Failed to execute query line 89 page2.php"

All permissions required are in place and checked. The database name issue is the only thing I have found so far that might explain things as the server I use automatically adds an extension to the database user-provided name of -123456 where 123456 is a unique number added to prevent clashes of database name in the database server...

Any update would be greatly appreciated

Many thanks

Jim

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.150 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo