G-Lock Software

HomeProductsForumsFAQDownloadsRegistration













 

G-Lock EasyMail \ How to connect remotely to MySQL database


How to connect remotely via the Internet to a MySQL database using G-Lock EasyMail 5


For a video tutorial click here

This guide assumes that you have already installed the MyODBC Driver onto your computer.

If you don't have the MyODBC Driver on your computer, follow these steps to install it:
 

Installing MyODBC Driver

1. Download MyODBC 3.51 to your desktop computer making sure to select the appropriate installation file for your version of Windows. (Probably Windows Driver Installer (MSI))

2. After downloading, double click on mysql-connector-odbc-3.51.12-win32.msi.

3. When the MySQL Connector/ODBC 3.51 - Setup Wizard window appears, click Next.

4. Select the "Typical" installation & click Next.

5. Click Install and wait for the installation to finish. Click Finish.

Congratulations! You have successfully installed MySQL Connector/ODBC.
 

Now you must allow the computer where G-Lock EasyMail is installed to access your MySQL database by adding its IP address to the list of allowed hosts for your MySQL database.
 

Adding MySQL Access Hosts

1. Open your Internet browser.

2. Open the cPanel on the remote web server where your MySQL database is located

3. Click on MySQL Databases link

4. Scroll down the page and find "Access Hosts" section

5. Enter the IP address of the computer where G-Lock EasyMail 5 is installed

6. Click Add Host

7. Close your browser


Now you must create a user DSN for MySQL driver in the ODBC Data Source Administrator.
 

Creating User DSN for MySQL Driver

1. Click Start -> Settings -> Control Panel

2. Double click the mouse on Administrative Tools in the Control Panel

3. Double click the mouse on Data Sources (ODBC)

4. On ODBC Data Administrator (User DSN tab) click Add

5. Select MySQL ODBC 3.51 Driver

6. Click Finish

7. On the Connector/ODBC screen type Data Source Name,  your MySQL server name, your username and password to connect to MySQL server, and your MySQL database name

8. Click Test

9. Click OK if the test passes

10. Click OK to close the Connector/ODBC screen

11. Click OK to close the ODBC Data Source Administrator screen.

Now you are ready to connect to your MySQL database using G-Lock EasyMail 5.
 

Connecting to MySQL Database Using G-Lock EasyMail

1. Open G-Lock EasyMail 5

2. Click Address Book button on the toolbar.

3. Put the cursor at My Databases item at the left pane

4. Click on the New button

5. Type a name for your database link

6. Click Select Database button

7. On the Data Link Properties screen select Microsoft OLE DB Provider for ODBC Drivers

8. Click Next

9. Select your data source name

10. Click on Test Connection button

11. Click OK if the test passes

12. Click OK to close the Data Link Properties screen

13. On the Database Manager screen select the Table Name from your MySQL database.

14. Map the fields from your MySQL database to the respective fields in G-Lock EasyMail. To do this, click the mouse in the Mapped Field column and select a field name. The Email field is required for mapping. 

15. Click OK to save the settings.

Success! To see how the data from your MySQL database is displayed in G-Lock EasyMail, put the cursor on your database name in My Databases section at the left pane.

 

G-Lock EasyMail
  What's New
Editions
Key Features
Dictionaries

G-Lock EasyMail 5 Tour ...

HTML Email Guide
 
 Video Tutorials
 

How to get started with G-Lock EasyMail 5. Tutorial for beginners

How to connect remotely via the Internet to a MySQL database using G-Lock EasyMail 5
 
How to verify emails directly from G-Lock EasyMail 5 Address Book without import-export
 

 Articles
  Tips for Successful Email Marketing Campaign

Creating Bulk Email List & Building Strong Relationship with It

Choosing Email Management Software for Bulk Email Sending

Tips and Tricks on Creating Effective Email Marketing Newsletter

Tune up Your Email Newsletter to be Compliant with Anti-Spam Filters

Our newsletters
 

 Tips and Tricks
  Why is my message not going out?

Why does message get bounced?

Why some recipients DON'T receive the emails sent with G-Lock EasyMail: Spam Filters Explained

How to process bounced emails with G-Lock EasyMail

G-Lock EasyMail and External Scripting Languages

G-Lock EasyMail Address Book is Powerful Email List Manager
 

Technical Support
  Contact & Support
Support Submission Form 
Glocksoft Community Forums
Online Knowledge Base
 
Spread the word
 
 
  Add to Favorites

 

Home | Products | Forums | FAQ | Downloads | Registration