Solved

Sync Contacts Data - Outlook - MYSQL Database

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn how to count occurrences of each item in an array.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

911 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

16 Experts available now in Live!

Get 1:1 Help Now