We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bin/install never asks about the MySQL host to use. Assume it assumes localhost.
The text was updated successfully, but these errors were encountered:
That's a good point. I'll fix it
Sorry, something went wrong.
Anything to hack around that in the meanwhile? (SQlite isn't an alternative.)
Sure. If I remember correctly, you should be able to set both host and/or port in the config/autoload/entity_manager.global.php file
config/autoload/entity_manager.global.php
<?php return [ 'entity_manager' => [ 'orm' => [ 'proxies_dir' => 'data/proxies', ], 'connection' => [ 'driver' => 'pdo_mysql', 'user' => env('DB_USER'), 'password' => env('DB_PASSWORD'), 'dbname' => env('DB_NAME', 'shlink'), 'charset' => 'utf8', 'host' => '1.2.3.4', // <- Add this if you need to change the host 'port' => 33306, // <- Add this if you need to change the port 'driverOptions' => [ PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8', ], ], ], ];
Just remember to delete the data/cache/app_config.php file so that it gets regenerated, otherwise your changes won't take effect.
data/cache/app_config.php
Already implemented https://github.com/acelaya/shlink/tree/feature/1.3.1 Will be available in shlink 1.3.1
acelaya
No branches or pull requests
bin/install never asks about the MySQL host to use. Assume it assumes localhost.
The text was updated successfully, but these errors were encountered: