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 of clean piwik fails when using alternative portnumber for MySQL #5865
Comments
@RMastop do you remember the error message displayed? it would help other users maybe find this issue. Installing Mysql on different port worked a few months ago when I tested it, though we run our tests on default port as well so maybe it's regressed |
Just tested, it works on v. 2.8.3. When one adds ":" (like ":3307") the config file created contains the custom port number. The error in piwik 2.0.3 (shown after adding the requested info to step 7 "Setup a Website") was: A fatal error occurred |
Just tried to upgrade the 2.0.3 (with the alternative portnumber) to Piwik 2.8.3 and it failes during upgrade processbecause of the following error: I think this is because the alternative portnumber is not written to config.ini.php in the first place. |
Just installed Piwik and am not able to set up a port during installation. I need 3307 for a mariaDB. We need an additional input field to change the default port 3306 to another port during installation. Tried to create a config/global.ini.php with
But then the install tool tells me that Piwik already is installed. |
@Aybee could you try to remove the port reference from the global config and add the value ":3307" to the hostname/ip-address of the mysql host (f.i. 127.0.0.1:3307) during setup. That way I was able to install it the first time. |
@RMastop I've used a MySQL-DB now and as your trick is not update safe I will not try it again. I think in general we need a field for the port in install tool. But thank you for your hint anyway. |
@Aybee I agree to that. It doesn't happen to often that we need to use an alternative portnumber, It would help the few that need to run this kind of setup. |
Just tested it again. Using the host Maybe a hint at this field regarding that feature would be beneficial. |
To save time, easiest way is probably to adjust inline help and point people to an FAQ explaining how to install Matomo when a custom MySQL port is used. |
I found a bug in setting up a new environment:
When installing Piwik on a system with MySQL running on an alternative port number, the installation fails.
One could work around this by editing the global config port number. (when in the install process you need to type <IP-Address/Host-name>:)
However this is a workaround from hell, because it will overwritten by the next Piwik update process.
The actual problem is that before you could even start the configuration of the MySQL port number from within the installation process on the web interface, the installation procedure is halted with some unclear message.
The text was updated successfully, but these errors were encountered: