common_schema
common_schema copied to clipboard
DBA's framework for MySQL
I'm getting the following on MySQL 5.7: ``` ERROR 1054 (42S22) at line 12498 in file: 'structure/common-schema.sql': Unknown column 'password' in 'field list' ``` Looks like they renamed the `password`...
Hi, i'm trying install common_schema in mysql 5.7.24 but i'm getting this error: ERROR 1171 (42000) at line 195: All parts of a PRIMARY KEY must be NOT NULL; if...
SQL: select common_schema.json_to_xml('{"key":"ab\"cd"}') Expected result: ab\cd Current result: NULL The problem is in _get_json_token line 166, as substr won't find the "\" char as it expects. Don't know how to...
…k whether the mysql.user.password column exists or not, and use the authentication_string column in its place if password does not exist
@shlomi-noach would you mind to give a quick overview of the build requirements?
http://shlomi-noach.github.io/common_schema/risks.html
When using json_to_xml parse fails (returns NULL) if there is a text value beginning with "-" signal. Doesn't work: ``` select common_schema.json_to_xml('{"key":"-123456"}') select common_schema.json_to_xml('{"key":"-abcde"}') ``` Work: `select common_schema.json_to_xml('{"key":-123456}')`
When the value is empty, the parser fails and returns NULL. In the example below **name** is empty object. So when you try to extract the value, it returns null....
Fixed issue where routine and sql_show_grants view have different user char size, resulting in mysql_user data size error.