WebFaction
Community site: login faq

How can I use the MySQL Workbench to connect to my MySQL databases?

asked 08 Dec '10, 21:00

slackzer
323
accept rate: 0%

edited 08 Dec '10, 22:07

klynton
1.6k1210


Hi,

You need to do this:

http://community.webfaction.com/questions/745/remote-access-mysql-server-on-webfaction?page=1#746

and request access to your database from outside, then you'll be able to connect with multiple destop tools.

Also:

You can access the database via an ssh tunnel as shown here:

http://docs.webfaction.com/user-guide/databases.html?highlight=tunnel#starting-an-ssh-tunnel-with-ssh

permanent link

answered 08 Dec '10, 22:06

klynton
1.6k1210
accept rate: 41%

edited 08 Dec '10, 23:34

I have done that, now, how do I actually connect through a PHP MySQL connect call?

(24 Dec '10, 21:33) slackzer

Hi,

You should be able to connect by using yourserver.webfaction.com as the host name and 3306 as the port using the normal PHP database connection methods.

(24 Dec '10, 21:48) klynton

Thanks Klynton, the port was what I was missing.

(24 Dec '10, 21:49) slackzer

You're very welcome!

(24 Dec '10, 21:52) klynton
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×168
×25
×12
×3

question asked: 08 Dec '10, 21:00

question was seen: 4,236 times

last updated: 24 Dec '10, 21:52

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM