I use PuTTY to access a remote MySQL database via 'ssh' and then use mysql through PuTTY.
Is there any way I could open the same in Microsoft Access database manager and append data to the MySQL table(s) remotely?
I have an Excel file and I want to insert its contents to the MySQL db and it would be very tiresome through putty command line.
Just install the MySQL ODBC driver on your PC: http://dev.mysql.com/downloads/connector/odbc/
Then you can link your MySQL tables to your Access database and use them directly.
In linux server access db in local m/c to set tunnel address for putty .
Related
I am working on database project, my database is on hostinger. I want to connect mysql workbench to hostinger.
can please someone guide me how to do this.
In cpanel:
Add remote IP Address to Remote MySQL
In Operating System: ODBC and MySQL Workbench
Close MySQL Workbench
Download and Install 32-bit or 64-bit MySQL ODBC connector from MySQL website
Restart PC
Configure ODBC (Windows run Win+R: %windir%\System32\odbcad32.exe )
Add source and choose: MySQL ODBC 5.3 Unicode Driver
Choose Data Source Name
TCP/IP Server: mysql.hostinger.[top-level domain] (e.g. mysql.hostinger.nl or mysql.hostinger.in)
!!! or Public IP address if it's given in cpanel at Remote MySQL on top of the page.
Port: 3306
Fill in: User and Password
Test connection
Start MySQL Workbench
Fill in same data as ODBC connection and test connection.
First SQL command have to be: USE [database name] ;
show tables;
Go to your hpanel
Select your website hosting click Manage
Go to Bottom page Under Database's click Remote MySQL
Check Any Host and Select your Database cick Create
Copy the hostname(which is something like sqlxxx.main-hosting.xx or IP 19x.xxx.xx.xx) located on top of IPv type Field
Goto workbench:
Create New Connection
Connection Method Standard(TCP/IP)
Under Parameters tab Hostname Field Enter Copied Hostname(sqlxxx.main-hosting.xx or IP 19x.xxx.xx.xx)
Port Field Enter:3306
Enter the Username & Password credentials when you created your database in Hostinger
I have a job which has source connection as oracle on windows.
On Destination it should update a mysql database table on ubuntu linux server over ssh.
Is this possible to do?
In insert/update step is it possible to give connection type over ssh?
In need of help.
Target insert/update step works through JDBC connection. Therefore you need to open port on MySQL DB to be able to connect to DB.
You can open a connection via Putty and use 127.0.0.1 in the jdbc connector to connect to your DB via the tunnel opened by your putty session.
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.
I am trying to connect to MySQL database using VBA from my local machine. The database is in the linux server(XXXX.xxx.edu). I have the SSH client in my machine through which I connect to the *****.xxx.edu server. Once when I login and use the below command, I am able to access the MySQL database without any problem.
mysql -p -h XXXX.XXX.edu -u username dbname
However,I need to run the VBA in my machine and insert the values into this database. I tried to connect using the code mentioned in the below link.
Error in VBA:`[Microsoft][ODBC Manager] Data source name not found and no default driver specified
As told in the suggestion of the above link, I installed the MYSQL ODBC drivers which installed the MySQL 5.5 in my machine. Even after installing, I get the error,
[Microsoft][ODBC Manager] Data source name not found and no default driver specified
I am not able to figure out what exactly is the problem. How should I connect to the linux server and then connect to the MySQL database?
you install the mysql odbc driver (the msi) from here.
http://dev.mysql.com/downloads/connector/odbc/
you run ODBC Data Source Administrator
go to System DSN
click Add
select, for instance, MySql ODBC Unicode Driver
click finish.
dns name: fred
description: fred
tcpip server: 192.168.1.11 (whatever, dns, so long as u can point to it)
port 3306
user: root (whatever)
pwd: whatever works
drop down database, click test or view them
How can I create a mysql database on my own pc and remote connect to it from external source?
What do I need?
You can try and use XAMPP
Find it here: http://www.apachefriends.org/en/xampp-windows.html
It will let you host Mysql server inlcuding PHPMyAdmin. If you open your ports, you can connect remotely to PHPMyAdmin and manage your Mysql database.