Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
All CREATE SERVER clauses are optional. Default values are:
- HOST: ''
- PORT: 0
- SOCKET: ''
To have a usable server, we must define:
(host AND port) OR socket
No storage engine returns a clear error when trying to connect to an unusable server. And with SPIDER, bad things happen.
Could MariaDB return an error/warning/note, when not enough data or too many data are provided?
I'd expect that PORT can take a default value (3306 for "mysql" wrapper), so only HOST or SOCKET must be required. Unless there are reasonable defaults for them too, but I cannot imagine what could they be.