Problems generating DUMP in MYSQL #36824
Unanswered
joaonivaldo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to generate a dump of a database on my localhost server and it just gives an error.
From what I've seen, it's not passing the server credentials to make the dump correctly.
[/run/user/1000/doc/8749bedf/usr/bin/mysqldump --skip-lock-tables --routines --add-drop-table --disable-keys --extended-insert -u ****** --host=localhost --port=3306 fran_logs
Tarefa 'Dump MySQL' iniciada em Wed Jan 15 16:25:18 BRT 2025
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
Tarefa 'Dump MySQL' completa em Wed Jan 15 16:25:18 BRT 2025
2025-01-15 16:25:18.894 - IO error: Process failed (exit code = 2). See error log.
2025-01-15 16:25:18.894 - java.io.IOException: Process failed (exit code = 2). See error log.
at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.validateErrorCode(AbstractNativeToolHandler.java:264)
at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.executeProcess(AbstractNativeToolHandler.java:242)
at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.doExecute(AbstractNativeToolHandler.java:285)
at org.jkiss.dbeaver.ext.mysql.tasks.MySQLNativeToolHandler.doExecute(MySQLNativeToolHandler.java:47)
at org.jkiss.dbeaver.tasks.nativetool.AbstractNativeToolHandler.lambda$0(AbstractNativeToolHandler.java:88)
at org.jkiss.dbeaver.runtime.RunnableContextDelegate.lambda$0(RunnableContextDelegate.java:39)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:124)](url)
Beta Was this translation helpful? Give feedback.
All reactions