GithubHelp home page GithubHelp logo

rap2hpoutre / mysql-xplain-xplain Goto Github PK

View Code? Open in Web Editor NEW
53.0 9.0 18.0 66 KB

:mouse: Explain Explainer for MySQL Queries.

Home Page: http://mxx.mnstrl.org/

License: MIT License

PHP 94.45% CSS 1.19% JavaScript 4.36%
php mysql mysql-explain analysis

mysql-xplain-xplain's Introduction

mysql-xplain-xplain

Build Status

Explain Explainer for MySQL Queries. Something like an upgraded EXPLAIN command for browser. Highlights and explains MySQL queries. It gives also hints and links. Hope it will help. More info here : http://mxx.mnstrl.org/

Getting started

  • Download last release archive and unzip it into your webroot folder or install via composer : composer create-project rap2h/mysql-explain-explain --prefer-dist
  • Launch your web server, goto http://localhost/xplain or something like that
  • Start typing your queries

Why?

MySQL EXPLAIN command is sometimes hard to understand. We try to make it more readable with some improvements. In a web browser.

Contributors

  • tazorax
  • rap2hpoutre
  • slythas
  • vincent-aubert

mysql-xplain-xplain's People

Contributors

bitdeli-chef avatar jlalande avatar marcosegato avatar mioux avatar rap2hpoutre avatar slythas avatar tazorax avatar vincent-aubert 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysql-xplain-xplain's Issues

Getting error Failed to connect to MySQL: No such file or directory

Hi,

I've configured PHP and MySQL to work, and the following page displays connected:

<?php

$conn = mysql_connect('localhost', 'root', '');

if($conn) {
    echo 'Connected';
} else {
	echo 'Error: ' . mysql_errno() . ' - ' . mysql_error();
}

I've installed the application with Composer and am on the page http://localhost/xplain/public/config.php

When I type my credentials and hit Submit I get the following error message:

Failed to connect to MySQL: No such file or directory

Please help.

Fatal error occured

Fatal error: Class Jasny\MySQL\DB_Exception may not inherit from final class (mysqli_sql_exception) in /foo/mysql-xplain-xplain/vendor/jasny/db-mysql/src/Jasny/MySQL/DB/Exception.php on line 60 

It seems mysqli_sql_exception changed to have final keyword.
I run with PHP7.

problème avec les dépendance et PHP 7.2

Bonjour,

je sais que ce n'ai pas chez vous, mais dans la dépendance du layer mysql:

Warning: Declaration of Jasny\MySQL\DB::query($query) should be compatible with mysqli::query($query, $resultmode = NULL) in /data/www/myexplain/vendor/jasny/db-mysql/src/Jasny/MySQL/DB.php on line 0
Fatal error: Class Jasny\MySQL\DB_Exception may not inherit from final class (mysqli_sql_exception) in /data/www/myexplain/vendor/jasny/db-mysql/src/Jasny/MySQL/DB/Exception.php on line 0

Touche TAB

J'ai fait une petite modif dans ma version. La touche Tab envoie un "\t" dans le textarea au lieu de changer d'input.

Est-ce que ça peut vous intéresser ? Si oui, je lance une pull request 👍

file missing where not using composer

Hi
i try to install xplain-xplain from git
when trying to display index.php
i get an empty webpage and the following message in apache errors.log
require(../vendor/autoload.php): failed to open stream: No such file or directory in /home/blabla/public_html/xplain/app/base.php on line 3

About port

If not use the default port(3306),Will report an error。

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.