DB communication through proxy server - mysql

My problem looks like this:
A clientele has one, with a proxy, foreclosed network. However, they want to synchronize information (using odbc-connector) with a database server running on there own Linux server. Unfortunately, only very few ports are open and they do not want to open any further ports.
My idea is that I run the database communication over one of the open ports.
Since I've not done something like this so far, and I'm not really got any further with google search. So I was unfortunately not been able to change the default port of the database server in Plesk on e.g. Port 8080.
I'll be very happy about suggestions:
Either via help changing the port OR also over other ideas, how this problem could be solved more easily.
Thank you in advance!
The system in question looks as follows:
MySQL 5.5.55
Php: 5.6
Plesk Onyx 17.0.17
Ubuntu 14.04.5 LTS

Related

Connecting to a remote MySQL database on a local PC using another PC

I want to develop a project for some college work. For this project i want to create a database in MySQL and I should be able to access this database from 2 different PC's which have MySQL workbench installed on it. I can use one of the PC's as the server or even a third PC as the server for the MySQL database. Someone please help me in doing this as i am unable to find any solutions online.
There's not much of an issue here.
Download and install the server from here.
Then install it on a computer within the same LAN of other computers
that will query the database.
Get the local ip of the computer on which the server is up and
running (on windows run cmd and then ipconfig) then look for
IPv4 Address value of the LAN.
Then establish the connection from other computers using that ip
value as host value configuration.

BeagleBone Black MySQL

I recently set up a MySQL server on my BeagleBone Black, it seems to work locally. Then I try to remote connect using MySQL Workbench on my laptop, but it said connection failed. Any idea why?
I also set up LightTPD, and that works fine. I am able to see a website from my laptop. So the connection there is good. I also check the iptables policy, and it is set to accept. I also ran netstat to see which port it's listening to, 3306. So I can't really think of why it don't work...
I am really new to this server, client, database things, so any help will be appreciated. Thanks!
Try Node.js server instead of Lighttpd. Better it you connect your database from Node.js MVC app. Use express or something like that.

Cannot connect to remote mysql from Mac lion

I'm a mac novice and trying to get a developer setup to develop php sites locally. The sites he develops have a mysql backend and that is on a remote box. We got xampp installed and working, he can connect from the website to the local mysql box but he cannot connect to the remote box. He is using the exact same connection info I am using from my windows system. I do not have any issues. Also the mysql server is setup to accept all users (we are currently using root) regardless of hostname.
I searched his system and I could not find a mysql.sock file. I do not know what this does, but googled some articles that mentioned.
Please help if you can.
Try Telnetting to the server from your host and see if you get a response.
telnet host 3306
If that doesn't work, you probably have some local firewall on your mac that is blocking the connection. Also, one thing you don't mention is that you can connect from a windows computer and not a mac... are they on the same network? If they're on different networks or in different places, that could indicate a local network issue.
This is definitely not an issue with mysql, but with something on the Mac itself.
The mysql.sock file is relevant only to the machine the MySQL server is running on, for local clients to communicate with the server. For any remote machines, they'll be connecting via TCP on port 3306.
Make sure that port 3306 is open in the server machine's firewall, and that MySQL has been configured to allow TCP connections.

Cannot follow external database(MySQL) of openfire server quide

I have MySQL database which I created on university's server
I try to develop android application that can send msg from mobile through XMPP protocol to keep data at my database server(from 1.)
At this time, I already downloaded openfire 3.7.0.dmg(MAC OS X) then try to setup server on my laptop
My problem is I cannot follow Database Installation Guide the error occurred: Does not have mysqladmin command at my Terminal. So, I cannot create table for openfire. Should I need to install MySQL on my laptop ?
Moreover, I pretty much confuse with [YOUR_HOST] of this statement :
jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]
I don't know what is it? should be localhost or anything?
Anyone can help me ? Thank you so much
You need to have MySQL installed on one computer you have access to. If you want to install it on your Mac, you can either download it directly from mysql.com, or you could install it using a package manager like Homebrew.
Next, make sure your MySQL install can listen for connections over TCP; there's a troubleshooting guide for that.
Next, use the name of the machine your MySQL server is running on in place of [YOUR_HOST]. If it's running on the same machine as OpenFire, you can use localhost.

How do I connect VS2010 to a MySQL database (locallay on another computer)?

I have a MySQL database on another windows computer (a server) that is setup locally using remote desktop connection for testing.
How can I connect to that local database to Visual Studio 2010 on "my computer"?
Server Computer(MySQL database setup local) --> My Computer(Visual Studio for test code..)
I am new to MySQL and any suggestions will help.
Thanks
PS: I have found this, but the "Server Name" for the database is 127.0.0.1 which I can't use because it is local on whatever computer you are on.
http://geekswithblogs.net/mbridge/archive/2010/12/13/visual-studio-2010-hosting--connect-to-mysql-database-from.aspx
You'll have to use the address of the computer that it is hosted on. It should be the same as the address you use to connect to the remote desktop session.
You might need to configure the firewall to accept the connection. You also might need to setup MySQL to allow remote connections with the user that you authenticate with.
I would recommend downloading MySQL workbench and install it on your local computer. Once you get the connection working with that, you should be able to use the connection with VS2010.
If you're not sure how to do the things listed above, you'll need to start out with a basic tutorial on setting up MySQL for remote connectivity.