alzalabany / sql-buddy

Automatically exported from code.google.com/p/sql-buddy
MIT License
0 stars 0 forks source link

Connection to a non-standard port #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure MySQL to use a non-standard port, i.e 3307
2. Install (unzip) sqlbuddy to a directory on the webserver
3. Login with credentials using localhost:3307

What is the expected output? What do you see instead?
Expected output is to login to the database and see the list of
databases/tables, i.e normal functionality.
I get error message "There was a problem logging you in." and returned to
the login dialogue.

What version of the product are you using? On what operating system?
SQLBuddy 1.3.1
Fedora Core 5, Fedora 7 and Ubuntu 8.10
PHP 5.1.2
MySQL 4.1.12

Please provide any additional information below.
The php mysql_connect function takes the database host argument as
server[:port] looking through the classes i see $connString uses : as
delimiter for arguments so it will be stripping the port out.

Original issue reported on code.google.com by ether.kn...@gmail.com on 15 Apr 2009 at 8:36

GoogleCodeExporter commented 9 years ago
Maybe give the added patch a try. I guess it should work, I didnt test it 
heavily,
too. It just adds a "port" field to the login.php file.

Original comment by fabian.b...@gmail.com on 8 Jul 2009 at 8:57

Attachments: