Wednesday, May 2, 2018

Re: dbext: unable to connect to MySQL database

On Tuesday, May 1, 2018 at 10:38:14 AM UTC-7, Stevan Earl wrote:
> Hi Folks,
>
> I have been using dbext with my Postgres databases for quite some time and really love it. Unfortunately, I have not been able to successfully connect dbext to my MySQL databases. dbext + Postgres works just fine so I know (well, assume) that the plugin and environment are working properly.
>
> My MySQL connection looks like the following but I have tried every combination that I can think of: with and without passwd, -t, port, dbname.
>
> let g:dbext_default_profile_mysql_local = 'type=MYSQL:host=localhost:port=3306:user=myusername'
>
> When I execute a query, the return looks similar to the mysql man page along with my connection parameters that appear correct. I get a similar result even if I type in the connection parameters manually in the dbext dialog box. The connection parameters work fine when connecting from the shell so I know those also are not (or should not be) the problem.
>
> Any ideas? Thanks in advance for your assistance.
>
>
> Stevan

Hi David,

Thanks very much for responding. Yep, all on the same machine, and I see the exact same behavior regardless of whether I am attempting to query my localhost or a remote server.

No problems outside of Vim: queries work fine via CLI or a client such as MySQL Workbench.


Stevan

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment