Solved

Sync Contacts Data - Outlook - MYSQL Database

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

778 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