Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

data from sybase to mysql

Posted on 2003-11-25
3
Medium Priority
?
1,209 Views
Last Modified: 2011-09-20
hi all,
i'm not used on sybase. So maybe it's an easy question for you experts... anyway: i have a sybase db.
I need to export data from the db, to import them into a mysql db.
I don't know the structure of the sybase db, but of course it is different from new mysql db structure. So i have to parse the export file and put data in their new position.
How should i export a "parsabe" file from sybase? something like a csv or similar?
How could I know the db structure?

thanx in advance

franz
0
Comment
Question by:jazz74
  • 2
3 Comments
 
LVL 2

Expert Comment

by:jkotek
ID: 9816659
Hi Franz,
For ASEnterprise the best way is to use utility called "bcp" (Bulk CoPy). You specify the table you want to export, connection details and the filename. There are also many switches for formatting the data - field/row delimiters etc.

And to know what user tables are in ASE? Switch to your database amd use select name from sysobjects where type='U' .

For ASAnywhere use the dbunload utility - you get a bunch of csv files.
0
 
LVL 6

Accepted Solution

by:
ChrisKing earned 375 total points
ID: 9823186
if you are a mySQL person, I am sure you are aware of phpMyAdmin

well you may want to try the Sybase port - phpSybaseAdmin
see details at: http://freshmeat.net/projects/phpsybaseadmin/?topic_id=68
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 9963508
jazz74
please return to the question
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Your business may be under attack from a silent enemy that is hard to detect. It works stealthily in the shadows to access and exploit your critical business information, sensitive confidential data and intellectual property, for commercial gain. T…
Today as you open your Outlook, you witness an error message: “Outlook is using an old copy of your Outlook Data File…”. Probably, Outlook is accessing an old OST file.
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

782 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