-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
[mysqldef] How can use SSL/TLS? #216
Comments
k0kubun
added a commit
that referenced
this issue
Mar 10, 2022
I implemented a relevant feature in v0.11.42. Could you try it again with v0.11.42? |
I tried, but got another error.
|
Please try |
Thank you! It worked! $ mysqldef -h example.psdb.cloud -u username -ppassword database_name < schema.sql
-- Apply --
CREATE TABLE `user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) DEFAULT 'hoge',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; I forgot to give the export option... $ mysqldef -h example.psdb.cloud -u username -ppassword database_name --export > schema.sql The export worked too! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to see if I can connect to PlanetScale (MySQL8).
$ mysqldef --version v0.11.40 $ mysqldef -h example.psdb.cloud -u username -ppassword database_name > schema.sql 2022/03/07 00:25:22 Error on DumpDDLs: Error 1105: unknown error: Code: UNAVAILABLE server does not allow insecure connections, client must use SSL/TLS
How can use SSL/TLS?
refs: Connecting to PlanetScale securely
The text was updated successfully, but these errors were encountered: