Jump to content

Clueless Mysql + ProgressBar


Recommended Posts

Hi,

I have some .sql files in local drive ready to be import to webhosting database, I'm using mysql.exe command line in the applicaiton to import the files.

I just have no idea how to make and calc estimate time for the progressbar while mysql.exe importing the files until it's finish.

Link to comment
Share on other sites

Hi biase,

you could set your progressbar after each .sql file. Otherwise you'd need to have the mysql.exe report how much's already been done of a single file.

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

Otherwise you'd need to have the mysql.exe report how much's already been done of a single file.

This is my problem now, I don't know how to make the mysql.exe send me data back such as how many KBs have been imported.
Link to comment
Share on other sites

This is my problem now, I don't know how to make the mysql.exe send me data back such as how many KBs have been imported.

If you start it and you can't see it in it's titlebar or the window/cli text this will not be possible. Anyway if you have questions about mysql.exe this may not be the right forum. :unsure:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...