Jump to content
Sign in to follow this  
biase

Clueless Mysql + ProgressBar

Recommended Posts

biase

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.

Share this post


Link to post
Share on other sites
hannes08

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]

Share this post


Link to post
Share on other sites
biase

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.

Share this post


Link to post
Share on other sites
hannes08

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]

Share this post


Link to post
Share on other sites
biase

Yea.. May be you were right... This is not a troubleshoot forum for mysql.exe

Anyway, thank for the suggestion.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.