Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
CREATE SERVER is a valid statement in MariaDB:
https://mariadb.com/kb/en/library/create-server/
However, it seems like SHOW CREATE SERVER isn't implemented yet. Maybe it would be worth implementing?
MariaDB [(none)]> CREATE SERVER srv1
|
-> FOREIGN DATA WRAPPER mysql
|
-> OPTIONS(
|
-> HOST '172.30.0.58',
|
-> DATABASE 'db1',
|
-> USER 'maxscale',
|
-> PASSWORD 'password'
|
-> );
|
Query OK, 0 rows affected (0.00 sec)
|
|
MariaDB [(none)]> SHOW CREATE SERVER srv1;
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SERVER srv1' at line 1
|
MariaDB [(none)]> SELECT * FROM mysql.servers\G
|
*************************** 1. row ***************************
|
Server_name: srv1
|
Host: 172.30.0.58
|
Db: db1
|
Username: maxscale
|
Password: password
|
Port: 3306
|
Socket:
|
Wrapper: mysql
|
Owner:
|
1 row in set (0.00 sec)
|
Attachments
Issue Links
- blocks
-
MDEV-34716 Allow arbitrary options in CREATE SERVER
-
- Closed
-
- causes
-
MDEV-35136 Sporadic hang on shutdown after using [SHOW] CREATE SERVER syntax
-
- Open
-
- includes
-
MDEV-34716 Allow arbitrary options in CREATE SERVER
-
- Closed
-
- is duplicated by
-
MDEV-19559 Provide SHOW commands for SERVERs
-
- Closed
-
- relates to
-
MDEV-33196 [ERROR] Got error 12524 when reading table './test/t'
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Workflow | MariaDB v3 [ 86256 ] | MariaDB v4 [ 130804 ] |
Assignee | Nayuta Yanagisawa [ JIRAUSER47117 ] |
Fix Version/s | 10.11 [ 27614 ] |
Fix Version/s | 10.11 [ 27614 ] |
Assignee | Nayuta Yanagisawa [ JIRAUSER47117 ] |
Link | This issue is part of MENT-796 [ MENT-796 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Assignee | Yuchen Pei [ JIRAUSER52627 ] |
Fix Version/s | 11.4 [ 29301 ] |
Link | This issue is part of MENT-796 [ MENT-796 ] |
Link | This issue blocks MENT-796 [ MENT-796 ] |
Link |
This issue includes |
Fix Version/s | 11.7 [ 29815 ] | |
Fix Version/s | 11.4 [ 29301 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Yuchen Pei [ JIRAUSER52627 ] | Alexey Botchkov [ holyfoot ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link |
This issue blocks |
Assignee | Alexey Botchkov [ holyfoot ] | Yuchen Pei [ JIRAUSER52627 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Link |
This issue is blocked by |
Assignee | Yuchen Pei [ JIRAUSER52627 ] | Alexey Botchkov [ holyfoot ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Link |
This issue is blocked by |
Status | In Review [ 10002 ] | In Testing [ 10301 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Roel Van de Paar [ roel ] |
Link | This issue is part of TODO-4907 [ TODO-4907 ] |
Labels | create_server federated federatedx show spider | Preview_11.7 create_server federated federatedx show spider |
Link | This issue relates to MDEV-33196 [ MDEV-33196 ] |
Link | This issue causes MDEV-35065 [ MDEV-35065 ] |
Link | This issue causes MDEV-35065 [ MDEV-35065 ] |
Link | This issue causes MDEV-35136 [ MDEV-35136 ] |
Assignee | Roel Van de Paar [ roel ] | Yuchen Pei [ JIRAUSER52627 ] |
Status | In Testing [ 10301 ] | Stalled [ 10000 ] |
Fix Version/s | 11.7.1 [ 29913 ] | |
Fix Version/s | 11.7 [ 29815 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
Link |
This issue is duplicated by |
This task itself looks it could be useful and easy to implement.
sanja Is SHOW CREATE FOO part of the sql standard? I know for example SHOW CREATE TABLE it is not supported in postgresql.