Giter Club home page Giter Club logo

bike's Introduction

BIKE

Bike is a lightweight MySQL admin tool. List of features is small but it must be enough for simple management tasks.

Installation

Going to use Bike for WordPress, Joomla, Drupal management?

If you are using some popular CMS (WordPress, Joomla, Drupal) - just unpack package into subfolder of your current CMS installation. That's it. Bike will identify what kind of CMS you are using and will take connection parameters from regarding config files.

No CMS?

If you are not using any CMS - create file /config.db.php in root Bike's folder and put following connection parameters into it.

<?php

br()
  ->config()
    ->set( 'db'
         , array( 'engine'   => 'mysql'
                , 'hostname' => 'localhost'
                , 'name'     => '[dbname]' 
                , 'username' => '[dbuser]'
                , 'password' => '[dbpassword]'
                ));

Saved queries

Bike is not creating any tables in your database so if you are going to save your code snippets and use them later or share with other users - please adjust permissions for folder /user in root Bike's folder. It must be writeable for your webserver.

What can I do with Bike

Basically Bike is an SQL runner, so, actually, you can do pretty much if you are familiar with SQL.

Also there are some nice features included

  • 40 recent queries
  • Named saved queries
  • Queries library
  • Nice AJAX UI :)

What is Library section?

In library I put some useful SQL snippets. You can put your own, it's in file /library/library.json - just an array in JSON format:

{ "Show tables list":{"name":"Show tables list","sql":"SHOW TABLES"}
, "Show processes list":{"name":"Show processes list","sql":"SHOW PROCESSLIST"}
, "Show tables status":{"name":"Show tables status","sql":"SHOW TABLE STATUS"}
, "Show table structure":{"name":"Show table structure","sql":"DESC %Table name%"}
, "Show table CREATE statement":{"name":"Show table CREATE statement","sql":"SHOW CREATE TABLE %Table name%"}
}

I'll render nice input dialog for placeholders, enclosed in % %.

Demo

Check it here.

Security & Restricted access

On current stage I don't care about login functionality. Put Bike into folder with name like "tASTDKUWYVEjhas" or just use Apache httpauth as workaround.

Terms & Conditions

You can use Bike. Anywhere. For any purposes. And I'm not responsible for anything.

Contacts

Have a question? Mail me to [email protected]

bike's People

Contributors

jagermesh avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.