Error installing mysql57
Ryan Schmidt
ryandesign at macports.org
Wed Mar 6 06:04:07 UTC 2019
On Mar 3, 2019, at 19:47, S. L. Garwood wrote:
> I am reinstalling mysql57 on Mojave — got a weirs error message…..
> Here is the install
>
> mymbp:~ slgarwood$ sudo port install mysql57 mysql57-server
> ---> Computing dependencies for mysql57
> The following dependencies will be installed: mysql_select
> Continue? [Y/n]: Y
> ---> Fetching archive for mysql_select
> ---> Attempting to fetch mysql_select-0.1.2_3.darwin_18.noarch.tbz2 from https://packages.macports.org/mysql_select
> ---> Attempting to fetch mysql_select-0.1.2_3.darwin_18.noarch.tbz2.rmd160 from https://packages.macports.org/mysql_select
> ---> Installing mysql_select @0.1.2_3
> ---> Activating mysql_select @0.1.2_3
> ---> Cleaning mysql_select
> ---> Fetching archive for mysql57
> ---> Attempting to fetch mysql57-5.7.25_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/mysql57
> ---> Attempting to fetch mysql57-5.7.25_0.darwin_18.x86_64.tbz2.rmd160 from https://packages.macports.org/mysql57
> ---> Installing mysql57 @5.7.25_0
> The mysql57 client has been installed.
> To install the mysql57 server, install the mysql57-server port.
> ---> Activating mysql57 @5.7.25_0
> ---> Cleaning mysql57
> ---> Computing dependencies for mysql57-server
> ---> Fetching archive for mysql57-server
> ---> Attempting to fetch mysql57-server-5.7.25_0.darwin_18.noarch.tbz2 from https://packages.macports.org/mysql57-server
> ---> Attempting to fetch mysql57-server-5.7.25_0.darwin_18.noarch.tbz2.rmd160 from https://packages.macports.org/mysql57-server
> ---> Installing mysql57-server @5.7.25_0
> ---> Activating mysql57-server @5.7.25_0
> ---> Cleaning mysql57-server
> ---> Updating database of binaries
> ---> Scanning binaries for linking errors
> ---> No broken files found.
> ---> No broken ports found.
> ---> Some of the ports you installed have notes:
> mysql57 has the following notes:
> On activation if no /opt/local/etc/mysql57/my.cnf file exists one
> will be created which loads
> /opt/local/etc/mysql57/macports-default.cnf.
>
> If a /opt/local/etc/mysql57/my.cnf file exists MacPorts does not
> touch it and any changes you make to /opt/local/etc/mysql57/my.cnf
> will be preserved (e.g., during port upgrades, deactivations or
> activations). /opt/local/etc/mysql57/my.cnf is a good place to
> customize your mysql57 installation.
>
> Any changes made to /opt/local/etc/mysql57/macports-default.cnf
> will be lost during port upgrades, deactivations or activations so you
> are advised to not make changes here. Currently
> /opt/local/etc/mysql57/macports-default.cnf contains only one
> directive; to disable networking. With disabled networking it is
> possible to install and have running all the MacPorts mysql ports
> simultaneously.
> mysql57-server has the following notes:
> If this is a new install you might want to run:
>
> $ sudo /opt/local/lib/mysql57/bin/mysqld --initialize --user=_mysql
> $ /opt/local/lib/mysql57/bin/mysql_secure_installation
Great! You successfully installed mysql57 and mysql57-server.
> mymbp:~ slgarwood$ sudo port select mysql mysql57
> Selecting 'mysql57' for 'mysql' failed: could not create new link "/opt/local/man/man1/mysql-stress-test.pl.1.gz": target "/opt/local/share/man/mysql57/man1/mysql-stress-test.pl.1.gz" doesn't exist
> mymbp:~ slgarwood$
Sounds like we have a bug in the mysql select files. Would you file a bug report about it in our issue tracker, please (if one does not already exist for this problem)?
More information about the macports-users
mailing list