run command using single quote ' as per documentation
run the command again using double quotes " for database url
What happens?
What's not working
C:\Program Files\rsql_cli\bin>rsql --url 'mysql://root:secrets!@127.0.0.1:3306/mysql' -- "SELECT version();"
Error: relative URL without a base
What's working
C:\Program Files\rsql_cli\bin>rsql --url "mysql://root:secrets!@127.0.0.1:3306/mysql" -- "SELECT version();"
version()
8.0.39-community
1 row (1.7841ms)
What did you expect to happen instead?
version()
8.0.39-community
1 row (1.7841ms)
How did you install rsql?
Via Github release msi installer for Windows
What steps will reproduce the bug?
What happens? What's not working C:\Program Files\rsql_cli\bin>rsql --url 'mysql://root:secrets!@127.0.0.1:3306/mysql' -- "SELECT version();" Error: relative URL without a base
What's working C:\Program Files\rsql_cli\bin>rsql --url "mysql://root:secrets!@127.0.0.1:3306/mysql" -- "SELECT version();" version()
8.0.39-community 1 row (1.7841ms)
What did you expect to happen instead? version()
8.0.39-community 1 row (1.7841ms)
How did you install
rsql
? Via Github release msi installer for WindowsInformation about your environment