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

MySQL port configuration on XOT v3.0

  • Martin.Baker@bristol.ac.uk
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 11 maanden geleden - 10 jaren 11 maanden geleden #3114 door Martin.Baker@bristol.ac.uk
MySQL port configuration on XOT v3.0 werd gestart door Martin.Baker@bristol.ac.uk
For our installation of Xerte we are required to use an installation of MySQL with a non-default port number. Does anyone have best practice on specifying this during v3.0 installation?

Appending :XXXX (where XXXX is the port number) to the database host name no longer works (after some digging the PDO mechanism does not like the port number supplied in this fashion). I've managed to append ;port=XXXX to the hostname to get this to work but this feels extremely hacky...
Laatst bewerkt 10 jaren 11 maanden geleden door Martin.Baker@bristol.ac.uk.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 11 maanden geleden #3116 door ronm
Beantwoord door ronm in topic MySQL port configuration on XOT v3.0
Have a look at /website_code/php/database_library.php around line 55. You might be able to manually add the custom port in there e.g. port=xxx;

Let us know if that works?

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.

  • Martin.Baker@bristol.ac.uk
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
10 jaren 11 maanden geleden #3117 door Martin.Baker@bristol.ac.uk
Beantwoord door Martin.Baker@bristol.ac.uk in topic MySQL port configuration on XOT v3.0
Thanks for the advice Ron - the existing workaround in effect performs what you suggest so I can confirm that it works.

Is there a procedure for filing an enhancement request? (To allow specification of port number within the installation UI)

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
10 jaren 5 maanden geleden #3581 door navhash
Beantwoord door navhash in topic MySQL port configuration on XOT v3.0
Re: MySQL database install on non-default port
I've replicated this issue on our dev server with the latest Xerte install (3.1), i.e. I had to append ';port=XXXX' to the hostname on page 2 of the installer to get this to work.

Not a big deal but our security officer is a little concerned that no validation took place and perhaps other parts of the web UI are vulnerable?

Thanks.
Naveed

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

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