Local ⚡️ Addon for launching TablePlus (MacOS only) to view databases.
To test you will have to remove your current version from Local and install this version from the .tar.gz
file.
Based on work in add-support-for-tableplus-installed-via-setapp
branch.
This release fixes major issues surrounding the management of mysql.sock
v1.0.5
This release will NOT however fix the main issue which is if /tmp/mysql.sock
is owned by another user (which is likely running other DB system other than Table Plus on your system) you will see a RED button meaning the current user can't overwrite the file, which in no way cannot be worked around (I tried).
If you run into this issue I advise you to sudo rm /tmp/mysql.sock
and/or remove the other DB system changing the permissions of this file.
/tmp/mysql.sock
because the tests are unreliable because it can't just test the the link, it might test what it's linking to which would failIf we can't 1) delete /tmp/mysql.sock
and can't b) symlink /tmp/mysql.sock
then we show a red button for now. But it just means we don't have file permissions to change the file.
I plan on adding more verbose UI output later.
Download local-tableplus-1.0.5-beta.3.tgz
and install using the With Disk option in LocalWP.
/tmp/mysql.sock
exists, still unlinks vs overwrites (which always fails)Download the local-tableplus-1.0.5-beta.2.tgz
file and install using Install via Disk option in LocalWP.
An update to v1.0.5-beta.0 which additionally fixes this specific issue which is caused by the problem where we may have previously made a symlink but that symlink points to a file that no longer exists, while the symlink itself exists, all file-exists (symlink only) checks fail because the file the symlink points to doesn't exist since e.g. Local restart, etc.
So in this version we always unlink /tmp/mysql.sock
if we can before we make the symlink w/out any file-exists checks (for the symlink) because they will fail after e.g. a restart where site ID's have changed, etc.
Again having the peeps on https://github.com/aubreypwd/local-tableplus/issues/9 check this version out...
This release does a bit of refactoring to:
/tmp/mysql.sock
and disable the button if not
I want to have this version tested by the peeps on https://github.com/aubreypwd/local-tableplus/issues/9 before I officially release 1.0.5
.tgz
file below and allow to installA minor fix to a bug introduced in v1.0.3
which broke being able to switch sites and connect.
See: https://github.com/aubreypwd/local-tableplus/issues/11
This includes a minor fix that won't enable the [OPEN TABLEPLUS]
button if the /tmp/mysql.sock
file is not modifiable.
/tmp/mysql.sock
might not get unlinked soon enough before it is re-symlinked, see https://github.com/aubreypwd/local-tableplus/issues/9