-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of /warp import pre3-mysql is not working. #36
Comments
Are you sure that the DSN is correct? Perhaps your MySQL server listens to a non standard port that needs to be given too? Perhaps I should add some more debug output, the current error is not really specific. |
It is the correct DSN, as it connects to the new database using the exact same DSN in the configuration. The port is also using the standard 3306 port. This is why I was stumped when it kept giving me this error. |
I just tested it with my setup and it works as expected. Are you using an older devBuild? There was a similar bug, but that has been fixed. |
No, it should work fine with build#33, I just tested it. (Updating is still encouraged.) Another guess: You mentioned that you renamed the scheme. Have you checked if the user, you are using to connect with the database, has the rights to access that scheme and use |
I had used root to create and then access the database, I can double check once I get off work to see. I do have a second account that i use afterwards to keep root private, i'll check that account as well. Could possibly dropping the db and restoring under a different name have anything to do with it? |
I doubt it because even if, it should not matter for I just pushed a new devBuild that should actually show the SQL error that happened. If you test it, please post the exact output of using the command you posted above, it might give us an idea about the cause. |
I just got a mail with the comment you removed (the MySQL Workbench image). I noticed that there is no schema named Is this intentional, have you tested |
Sorry about that, I removed it after i noticed you had just posted the new devBuild. The one called warp is the old one, i had changed the name and had also tried with it as well. I am currently getting the new dev build on the server. |
Quite interesting, i uploaded the new build40 and ran this command: /warp import pre3-mysql jdbc:mysql://localhost/warp user pass warpTable It worked perfectly importing all warps. Now my question about skipped warps, if i run it again when the user has logged in at least once, will it import it then? |
Strange, maybe you were (without knowing) running a build older than 52cc629 (build17). Anyway, I am glad that it is working now. |
Could have thought i had the right one, but in the end thank you very much for the support! |
And, to answer the last question: Warps are skipped for four reasons:
In every case, you should see precise information about what is going on logged to the console. |
Alright makes sense, again thank you very mush for the support. It's nice to see developers like yourself this helpful! |
When attempting to import the old mysql database, which the schema was renamed to mywarpold, it states it cannot connect to the database. At first I thought I had a typo and re-checked it a few times, all good. So tried again and it still fails.
Looking at logs, this is all it gives me to deal with:
This is the exact command that I am typing (minus user/pass)
I have tried multiple times to get this to work, but it does not want to import itself to the new database.
The text was updated successfully, but these errors were encountered: