Done !
| Server IP : 162.240.50.153 / Your IP : 216.73.216.135 Web Server : Apache System : Linux vps-880082.mktpower.cl 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : wwmktp ( 1003) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysqlsh/prompt/ |
Upload File : |
{
"classes" : {
"schema": {
"text": "[%transport%%xprotocol%%ssltext%/%schema%]"
},
"noschema": {
"text": "[%transport%%xprotocol%%ssltext%]"
},
"nohost": {
},
"production" : {
"text": " PRODUCTION "
}
},
"variables" : {
"is_production": {
"match" : {
"pattern": "*;%host%;*",
"value": ";%env:PRODUCTION_SERVERS%;"
},
"if_true" : "production",
"if_false" : ""
},
"target" : {
"match" : {
"pattern": "%socket%",
"value": ""
},
"if_true": "%host%:%port%",
"if_false": "localhost"
},
"transport" : {
"match" : {
"pattern": "%ssh_host%",
"value": ""
},
"if_true": "%target%",
"if_false": "%ssh_host% > %target%"
},
"xprotocol": {
"match": {
"pattern": "%session%",
"value": "x"
},
"if_true": "+",
"if_false": ""
},
"ssltext": {
"match": {
"pattern": "%ssl%",
"value": "SSL"
},
"if_true": " ssl",
"if_false": ""
}
},
"prompt": {
"text": "> ",
"cont_text": "%linectx%> "
},
"segments": [
{
"classes": ["nohost%host%", "%is_production%"]
},
{
"separator": "",
"text": "MySQL"
},
{
"classes": ["nohost%host%", "noschema%schema%", "schema"],
"shrink": "truncate_on_dot",
"weight": 10
},
{
"text": "%Mode%",
"tag": "%Mode%",
"separator" : " "
}
]
}