I have been trying to create an SSH tunnel in order to connect a microsoft access frontend to a mysql database on my cloudways server. I have successfully connected to it and tested the mysql connection through putty, however it does not appear to let me connect to the DB on the ODBC with Microsoft Access. Not sure why it is not accepting the ip/port as local host.
Related
is there any way to connect to a remote database by using SQLyog? I have the ip address, user name and password of the database. However, I have 'Error 2003 - Can't connect to MySQL server on '[myIpAddress]' (10035) whenever I test connection in SQLyog.
Need to use both ssh connection and mysql server connection for establishment of successful connection.
You need to add % wild card in your cpanel to enable mysql remote connection, if you cannot do this, you can use SSH tunnel to connect to database, Please check the following screenshot
i have configured the phpmyadmin's config.inc.php file and a drop down menu has appeared accordingly in localhost/phpmyadmin to select the server. But when i try to connect to the server it says:
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
i have added my ip address to the online host server in the cpanel and have access to the remote sql connection.
please help.
Most hosts block incoming connections to the MySQL server as a security measure. You'll have to ask your host about unblocking port 3306 and how to access your MySQL directly -- or run an API on your web host, which would have access to the MySQL server due to being on the same network, and access the database through that. For phpMyAdmin specifically, just install it on your web host instead of your local machine, then access it through the internet rather than localhost.
We have a Linux Vm which is running our OTRS. I have found the kernel file which has the database configuration details. In there the host name is listed as local host.
I tried using the server IP address along with the database username that is there; however I cannot seem to connect.
I also cannot find the port that is utilized. How do I connect to the database on mysqlworkbench,
Maybe server doesn't allow remote connections to the DB or user used by OTRS is only a local user?
If this is true you've got two options:
Create user that is allowed to login remotelyCreate user that is allowed to login remotely
Create user that is allowed to login remotely
Use Standart (TCP/IP) over SSH as connection method in MySQL workbench. This option allows to first connect over SSH to the server and than connect to the DB as local user
I'm trying to establish a connection with Jaspersoft Studio to a MySQL database.
Jaspersoft Studio on (Windows 8) and MySQL is running on a virtual machine with openSUSE on the same hardware.
jdbc:mysql://192.168.178.27:3306/icinga (User and pw are given and correct)
The Error: javaSQLException Access denied for user 'icinga#MyPC.frist.box'
Because I don't have a bind-address line in my /etc/my.cnf I think the database is ready for remote access.
I can access the database with 192.168.178.27/phpMyAdmin and the login data.
Since you are connecting from a 'remote' host, are you sure that you have the user "icinga" granted rights to connecting from other hosts than local?
It's correct that you can use phpmyadmin, because that's running on the same machine as the databases server and is interpreted by the database server as 'localhost'.
I'm trying connect to my Oracle database in Windows by ODBC to upload data in MySQL database of openshift cloud service. I cannot connect with MySQL database by Tcp/Ip.
How I can connect to MySQL from Oracle pl/sql?
You will not be able to connect directly to your OpenShift MySQL database, you will need to use the rhc port-forward command to create a connection from your local computer to your gear so that you can access MySQL directly.