Solved

Sync Contacts Data - Outlook - MYSQL Database

Posted on 2010-08-17
4
571 Views
Last Modified: 2013-12-13
How can I sync my OUtlook Contacts Data to a MYSQL database?
0
Comment
Question by:Starquest321
  • 3
4 Comments
 
LVL 8

Expert Comment

by:kingjely
ID: 33461966

You could  
Export your contacts to a .csv file, then import them into outlook


In mysql you can use SELECT INTO OUTFILE


select * INTO OUTFILE
'Drive:/path/contacts.csv'
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n'
from ContactsTable;

Then import to outlook

Kj
0
 

Author Comment

by:Starquest321
ID: 33461979
Actually I need the other way around. . . and would love to have the ability to "sync"
0
 
LVL 8

Accepted Solution

by:
kingjely earned 500 total points
ID: 33462009
Ahh sink Too.. sorry

Aww sure, sorry, miss read that ;)


The other way round..


Export from (Comma Seperated values)
SAVE TO>  c:\contacts.csv

You will then need to

create table to hold the columns


Then in mYsql Browser

load data local infile
"drive:/path/contacts.csv"
INTO TABLE tablename
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n';

if you have a heading in line (1)one which you dont need, add

load data local infile
"drive:/path/contacts.csv"
INTO TABLE tablename
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n'
Ignore 1 lines;

Someone may have a better idea of how to sync, if thats what you need, but hopefully that can get you started ;)

Kj
0
 
LVL 8

Assisted Solution

by:kingjely
kingjely earned 500 total points
ID: 33462035
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now