FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Technical Support » MySQL Hosting

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 02-09-09, 07:18 PM
Member
 
Join Date: Nov 2007
Posts: 46
Default Connecting to MySQL with OpenOffice Base using JDBC

Hi Folks,

Has anyone here managed to successfully set up a connection between OpenOffice Base and Webhostings MySQL server using JDBC?

After pulling my hair out for a couple of hours last night I finally got a successful connection and updated a record on the server.

I'm now totally bald as I've spent another three hours trying to do it again and can't get it to work. I don't think anything has changed in my set-up but I tried so many things last night I can't be certain.

Specifics...
OpenOffice.org 3.1 installed on Windows XP Pro.
JDBC downloaded from Sun - mysql-connector-java-5.1.8-bin.jar loaded and working.
My internet IP has been enabled through cPanel for remote mysql access and confirmed through information_schema.
I have tried connecting using url and server IP on port 2086 and 2087.

Now, whever I try to verify a connection OpenOffice 'hangs' (Not Responding) and I have to quit to get out of it.

So, if any of you good people can point me in the right direction I'd be most grateful.

TIA,

Scottie.
Reply With Quote

  #2 (permalink)  
Old 13-05-11, 02:35 PM
new member
 
Join Date: Jan 2011
Posts: 4
Default

Hi,

Obtain mysql-connector-odbc from the MySQL website and install it on your system. Then:

1) Navigate to Control Panel > Administrative Tools and double-click on Data Sources (ODBC)
2) on the User DSN tab Click Add button and from the list of available drivers, select the MySQL ODBC Driver, and click OK.
3) Input requires data in the appeared dialog:

Data Source Name: it's optional. Let it be "Mysql-test" in our case.
Description: is optional as well.

Server: localhost (in case mysql server is installed on the local machine, or IP Address if it's on network machine)

fill out user and password fields respectively. You should be able to see mysql databases under Database drop-down list, choose one. Click OK.


Then, Establishing connection by Creating New Base file:

1) File > New > Database
2) Click on the radio button Connect to an existing database and choose MySQL from the dropdown menu. Click on Next.
3) In the next dialog, you should accept the default choice of Connect using ODBC, and then click on Next.
4) Click Browse and select created connection ([MySQL-test] should be in the list in our case) and next.
5) then enter username and Finish. Save file.
source : wikipedia
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials