.dat file for mysql server

Feel free to post about MYSQL, SQL, PGSQL, ACCESS or any other database type in here.

.dat file for mysql server

Postby Voodoochilli on Fri Jan 25, 2008 9:48 am

I have this .dat file which I believe has the data for a sql database, but when I try to open it with sql server it just opens in notepad and its all gibberish. Any ideas?
User avatar
Voodoochilli
Site Admin
 
Posts: 77
Joined: Tue Nov 27, 2007 9:52 am
Location: Hereford, UK

Re: .dat file for mysql server

Postby drdavido on Fri Jan 25, 2008 11:19 am

I'm not 100% sure but have a read of this...

http://www.techtalkz.com/microsoft-sql- ... 6-5-a.html

It talks about upgrading the SQL version too.
drdavido
 
Posts: 6
Joined: Mon Dec 03, 2007 6:07 pm

Re: .dat file for mysql server

Postby gita on Sat May 31, 2008 7:45 am

you should be able to use LOAD.datA in file to map that format for import into mysql.

though you may have problems if the values are not delimited and spaces occur within the values as well as the delimiter.
gita
 
Posts: 4
Joined: Sat May 31, 2008 5:03 am

Re: .dat file for mysql server

Postby Voodoochilli on Wed Jul 16, 2008 3:06 pm

Cheers, managed to get it sorted in the end. Mental note to self: Use MYSQL instead...
User avatar
Voodoochilli
Site Admin
 
Posts: 77
Joined: Tue Nov 27, 2007 9:52 am
Location: Hereford, UK

Re: .dat file for mysql server

Postby cse.nasir on Wed Aug 20, 2008 9:17 am

Can u please tell me how to use dat file in mysql.

Thanks.
cse.nasir
 
Posts: 1
Joined: Wed Aug 20, 2008 9:12 am

Re: .dat file for mysql server

Postby Voodoochilli on Thu Aug 21, 2008 1:48 pm

I had to use it in an access database. You would need to convert the data from access to mysql. there are tools that do this you can buy or you could write a little php script to do it for you.
User avatar
Voodoochilli
Site Admin
 
Posts: 77
Joined: Tue Nov 27, 2007 9:52 am
Location: Hereford, UK


Return to MYSQL/SQL and other databases Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron