Menu

#198 schemaspy still refers to password if db has no password or password input not provided

N/A
open
password (1)
2
2018-11-01
2018-11-01
hari
No

PS E:\schema> java -jar schemaspy-6.0.0.jar -t mariadb -dp mariadb-java-client-2.2.6.jar -db sqldb -host localhost -port 3306 -u root -o d:\hari -cat % -debug -hq
_ _
/ | | | _ __
/ | _ _ _
_
\ / | ' \ / _ \ ' _ \ / _ _ \| '_ \| | | |
) | (| | | | / | | | | | (| |) | |) | || |
|
/ _|| ||_|| || ||_,_|/| .__/ _, |
|_| |
/

                                          6.0.0

SchemaSpy generates an HTML representation of a database schema's relationships.
SchemaSpy comes with ABSOLUTELY NO WARRANTY.
SchemaSpy is free software and can be redistributed under the conditions of LGPL version 3 or later.
http://www.gnu.org/licenses/

INFO - Starting Main v6.0.0 on W0606510BZ76A with PID 8200 (E:\schema\schemaspy-6.0.0.jar started by hari n in E:\schema)
INFO - The following profiles are active: default
INFO - Started Main in 1.258 seconds (JVM running for 1.755)
DEBUG - Debug enabled
INFO - Configuration file not found
INFO - Starting schema analysis
DEBUG - Resolving dbType: mariadb ->
/E:/schema/schemaspy-6.0.0.jar!/BOOT-INF/classes!/org/schemaspy/types/mariadb.properties ->
/E:/schema/schemaspy-6.0.0.jar!/BOOT-INF/classes!/org/schemaspy/types/mysql.properties
DEBUG - supportsSchemasInTableDefinitions: false
DEBUG - supportsCatalogsInTableDefinitions: true
DEBUG - Schema not provided, queried jdbc driver and got 'null'
DEBUG - Command line parameters: [-t, mariadb, -dp, mariadb-java-client-2.2.6.jar, -db, sqldb, -host, localhost, -port, 3306, -u, root, -o, d:\hari, -cat, %, -debug, -hq]
ERROR - Bad config: Schema (-s/-schemas) was not provided and unable to deduce schema, schema is sometimes referred to as user/owner/database
org.schemaspy.model.InvalidConfigurationException: Schema (-s/-schemas) was not provided and unable to deduce schema, schema is sometimes referred to as user/owner/database
at org.schemaspy.db.SchemaResolver.resolveSchema(SchemaResolver.java:51)
at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:194)
at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:107)
at org.schemaspy.cli.SchemaSpyRunner.runAnalyzer(SchemaSpyRunner.java:97)
at org.schemaspy.cli.SchemaSpyRunner.run(SchemaSpyRunner.java:86)
at org.schemaspy.Main.main(Main.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
PS E:\schema>

Discussion


Log in to post a comment.