Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#47981 closed defect (fixed)

mysql_select making bad symlinks

Reported by: flynnmj@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mysql_select

Description

I noticed that most of the symlinks were pointing to the wrong files. I used the following command to make mysql56 the default port.

sudo port select --set mysql mysql56

I believe I have the latest version installed.

mysql_select @0.1.2_0 (active)

Will try to include a directory listing showing the mismatched symlinks.

Attachments (1)

mysql.txt (4.4 KB) - added by flynnmj@… 9 years ago.
Listing of the mismatched symlinks

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by flynnmj@…

Attachment: mysql.txt added

Listing of the mismatched symlinks

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to pixilla@…

All the files those symlinks point to do exist on my system with mysql56 installed. Do they not exist on your system? Or do they exist in different locations?

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Oh I see now, some of the symlinks don't point to the right files. The symlink mysql_upgrade points to mysql_setpermission, the symlink mysql_setpermission points to mysql_plugin, and so on.

This should be fixed now in r137218.

Wait 30 minutes, then selfupdate, then upgrade mysql_select, then re-select mysql56:

sudo port selfupdate
sudo port upgrade mysql_select
port select mysql mysql56

That should do it.

comment:3 Changed 9 years ago by flynnmj@…

Everything looks to be linked correctly. Thanks for fixing this.

Note: See TracTickets for help on using tickets.