Solved

Sync Contacts Data - Outlook - MYSQL Database

Posted on 2010-08-17
4
635 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

679 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