Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

xorm reverse #47

Closed
Aload opened this issue Dec 22, 2018 · 2 comments
Closed

xorm reverse #47

Aload opened this issue Dec 22, 2018 · 2 comments
Labels

Comments

@Aload
Copy link

Aload commented Dec 22, 2018

这我就不是很懂了 ,我把密码改成这样就没事了 1701&CahE ->111

D:\coding\go_code\SmartMigrate\src\github.com\go-xorm\cmd\xorm>xorm reverse mysql zhyb:1701&CahE@(192.168.29.194:3306)/iebm_platform_v2_db_dev?charset=utf8 D:/coding/go_code/SmartMigrate/src/tmp
params error, please see xorm help reverse
'CahE@' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\coding\go_code\SmartMigrate\src\github.com\go-xorm\cmd\xorm>xorm reverse mysql zhyb:11@(192.168.29.194:3306)/iebm_platform_v2_db_dev?charset=utf8 D:/coding/go_code/SmartMigrate/src/tmp
2018/12/22 12:15:20 [Error] reverse.go:178 Error 1045: Access denied for user 'zhyb'@'192.168.29.158' (using password: YES)

@Aload
Copy link
Author

Aload commented Dec 22, 2018

经过测试 不支持特殊符号&

@solarhell
Copy link

fmt.Sprintf escape 下就好了

@lunny lunny added the question label Jan 20, 2019
@lunny lunny closed this as completed Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants