jagermesh / bike Goto Github PK
View Code? Open in Web Editor NEWLightweight MySQL admin panel
License: MIT License
Lightweight MySQL admin panel
License: MIT License
For example I did SELECT * FROM catalog_os;
and id table was to small to show id in one row.
select 0 as test;
Pagination is incorrect when using COUNT() function which returns only 1 row.
Bike paginate the results as if it is a non-COUNT() query.
Should you deal with UTF8 tables, the charset key has to be added in config.db.php, thus you would have:
br()
->config()
->set( 'db'
, array( 'engine' => 'mysql'
, 'hostname' => MYSQL_DB_HOST
, 'name' => MYSQL_DB_NAME
, 'username' => MYSQL_DB_USER
, 'password' => MYSQL_DB_PASS
, 'charset' => 'utf8'
));
Spent some time to parse the code to finallyt add that key.
The number of saved queries, next to Saved queries at the top of the page is not updated when you delete the query from the list.
Количество сохранённых запросов рядом с надписью Saved queries вверху страницы не обновляется при удалении запроса из списка.
Локальный путь: /bike/api/savedQueries/
Исходники получал при помощи git: git clone https://github.com/jagermesh/bike.git
Баг можете посмотреть на скриншоте: http://disk.tom.ru/3tzuqnw
Мне кажется, вы забыли добавить в Git директорию "api/savedQueries".
Ideally pack into one file :)
The following query
select * from acl;
raises
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 20' at line 1
I got a fresh clone on my dev server and setup the config.db.php
.
Once accessing the front page of this project, get the following error of missing file:
Fatal error: require_once(): Failed opening required '/stuff/www/bike/bright/Bright.php' (include_path='.:/usr/share/php:/usr/share/pear') in /stuff/www/bike/index.php on line 3
Allow only SELECT, SHOW, DESCRIBE ... SQL in read-only mode.
When we run a query, the "Repeat" menu header link should toggle to "Repeating" each time it is clicked, to show it's status. What does the "every" link do?
I've had nothing but problems getting BIKE running on my server. I'm running a pretty clean copy of Ubuntu on a Linode, with a bare-bones set up to redirect a few domains to their respective folders and running PHP.
There are clearly dependancies that this relies on, as a stock php install doesn't do the trick. So far I've had to enable mod_dav_fs and add a to support it in apache2.conf, this got rid of my 405 error. Now I'm facing a 403 for a request to bike/api/query. I tried giving the bike directory and everything in it full read-write-execute permissions (777) but that hasn't done the trick. Making bike/api and bike/api/query myself leads to a 409 error (Cannot PUT to a collection).
I'm not really sure where to go from here; this has been far from a "plug and play" install.
Endless Query listing ensues each time bike is accessed - for the session it remains at last count.
The truncated query string is displayed instead of the Query Name in the Query listing.
The saved queries are not being read each time bike is accessed afresh.
The saved query count is displayed correctly but the queries do not show up till saved again.
Tested on WinXP SP3 and XAMPP 1.7.3.
Shouldn't the /bright/Bright.php file inclusion in the index.php be split up to use DIRECTORY_SEPARATOR instead of the hardcoded "/" ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.