Getting an error when trying to connect to a remote server using the mysql bundle. It's wanting to look for the mysql socket in the wrong spot. Anyway to change this? Would be cool if there was just an environment variable to set this.
and ideas?
On 9 Nov 2008, at 15:11, Rick Blalock wrote:
Getting an error when trying to connect to a remote server using the mysql bundle. It's wanting to look for the mysql socket in the wrong spot. Anyway to change this?
I have Bundles → SQL → Preferences… where I can setup connections.
Yes I do too. I can get connected up to the point where TM is looking for the sql socket in the wrong spot. On my server, it's in a different spot than TM wants. WHich I really don't understand why that would be, actually.
Attached is a screenshot of the error.
On Nov 11, 2008, at 4:00 AM, Allan Odgaard wrote:
On 9 Nov 2008, at 15:11, Rick Blalock wrote:
Getting an error when trying to connect to a remote server using the mysql bundle. It's wanting to look for the mysql socket in the wrong spot. Anyway to change this?
I have Bundles → SQL → Preferences… where I can setup connections.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 11 Nov 2008, at 14:45, Rick Blalock wrote:
Yes I do too. I can get connected up to the point where TM is looking for the sql socket in the wrong spot. On my server, it's in a different spot than TM wants. WHich I really don't understand why that would be, actually.
What value did you specify as hostname?
If the database is running on a server, you need to specify the name or IP of that server. It uses the /tmp/mysql.sock if you specify localhost (specify 127.0.0.1 to make it connect via a port, though still with mysql running on your local machine).
it's on another server and that's not the location of yhe mysql socket On Nov 16, 2008, at 5:42 AM, Allan Odgaard wrote:
On 11 Nov 2008, at 14:45, Rick Blalock wrote:
Yes I do too. I can get connected up to the point where TM is looking for the sql socket in the wrong spot. On my server, it's in a different spot than TM wants. WHich I really don't understand why that would be, actually.
What value did you specify as hostname?
If the database is running on a server, you need to specify the name or IP of that server. It uses the /tmp/mysql.sock if you specify localhost (specify 127.0.0.1 to make it connect via a port, though still with mysql running on your local machine).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
You can’t connect to a named socket on another server.
What values did you put into the connection/configuration dialog?
On 16 Nov 2008, at 14:16, Rick Blalock wrote:
it's on another server and that's not the location of yhe mysql socket On Nov 16, 2008, at 5:42 AM, Allan Odgaard wrote:
On 11 Nov 2008, at 14:45, Rick Blalock wrote:
Yes I do too. I can get connected up to the point where TM is looking for the sql socket in the wrong spot. On my server, it's in a different spot than TM wants. WHich I really don't understand why that would be, actually.
What value did you specify as hostname?
If the database is running on a server, you need to specify the name or IP of that server. It uses the /tmp/mysql.sock if you specify localhost (specify 127.0.0.1 to make it connect via a port, though still with mysql running on your local machine).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate