GithubHelp home page GithubHelp logo

hyee / dbcli Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 16.0 343.96 MB

Windows/Linux/OSX/MSYS command line utility for Oracle/MySQL/PostgreSQL

License: MIT License

Shell 3.34% Lua 26.15% PLSQL 53.31% SQLPL 0.06% Java 11.12% Batchfile 0.18% HTML 3.35% C 2.49%

dbcli's People

Contributors

anjuls avatar gitter-badger avatar hyee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dbcli's Issues

Connection alias missing?

There was one error while I first type in "login" after computer started.

SQL> login 1
No available logins for '1' in group 'oracle'. 
SQL> login
No available logins for '' in group 'oracle'.
SQL> login ae
No available logins for 'ae' in group 'oracle'.

I need re-input the connection, and they are all missing which I stored before.

Is it an existing issue?

First type:
Issue
Login list is back to normal after I create conn again.
Normal

Known issues

Following issues are reported by users, some of which cannot be recurred on my hand:

  • Cannot connect to database via console.bat (java.net.ConnectException: Connection refused), however works well via dbcli.bat(not recur)
  • Cannot launch sqlplus with the expected account(not recur)
  • Cannot launch the utility when the directory path > 60 chars
  • Ctrl+C occasionaly not function when try to abort a running SQL(related to Statement.abort(), need more investigation)
  • Cannot capture & send hotkeys(F7 for example) to subsystem(sqlplus for example)
  • Miss the complete features when integrating ssh: run local shell scripts remotely,etc
  • The output may not work well with multi-bytes characters, never been tested

something is wrong in newer version's dbcli.bat or init.cfg

Hi Hyee,
After setting init.cfg (JRE_HOME and TNS_ADM), dbcli.bat is throwing below error and also console.bat is not starting the program.. It is just opening the Console.exe.

The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the path specified.
Press any key to continue . . .

Not sure what's wrong or changed recently.

SSH issue

Hi Hyee,
when connecting through SSH, i am getting below error. Any pointers? thanks, Anjul

java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

Resolved

I tried to set the dbcli.bat with correct TNS_ADMIN and JRE path but it is failing with below error.
Any idea what I am doing wrong here?

dbcli>dbcli.bat
    --------------------------------------------------------------------------------------------------------------------------------------
    | DBCLI, type 'conn' to connect to db, or 'help' for more information. (c)2014-2015 hyee, MIT license (https://github.com/hyee/dbcli)|
    ======================================================================================================================================

Exception in thread "main" com.naef.jnlua.LuaRuntimeException: C:\Users\anjul.sahu\home\anjul.sahu\tools\dbcli\lua\input.l:8: module 'env' not f
        no field package.preload['env']
        no file 'C:\Users\anjul.sahu\home\anjul.sahu\tools\dbcli\lua\input.l'
        no file '.\env.dll'
        no file 'C:\Program Files\Java\jre1.8.0_40\bin\env.dll'
        no file 'C:\Program Files\Java\jre1.8.0_40\bin\loadall.dll'
        at com.naef.jnlua.LuaState.lua_pcall(Native Method)
        at com.naef.jnlua.LuaState.call(Unknown Source)
        at org.dbcli.Loader.loadLua(Loader.java:82)
        at org.dbcli.Loader.main(Loader.java:122)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.