MySQL Forums
Forum List  »  Router & Proxy

Please don't check defaults-file for regular-file
Posted by: Otheus Shelling
Date: November 18, 2015 03:59AM

mysql-proxy --defaults-file=/dev/null
2015-11-18 10:52:54: (critical) mysql-proxy-cli.c:326: loading config from '/dev/null' failed: /dev/null isn't a regular file

This is known as over-engineering. If the file doesn't exist, mysql-proxy complains and exits. Maybe that's ok. But if so, /dev/null should be treated like any other file. Why would you do this? I guess to make sure the file isn't a directory, but that's not that useful.

Options: ReplyQuote


Subject
Views
Written By
Posted
Please don't check defaults-file for regular-file
3213
November 18, 2015 03:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.