Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
All versions of MySQL (not Microsoft SQL Server). Please also add a version-specific tag like mysql-5.7 if that is relevant to the question.
0
votes
1
answer
158
views
Why isn't my !include directive working in MySQL?
include /Users/myself/Workspace/project_time/mysql/foo.cnf
[client]
i_am_a_dummy
And I have a file /Users/myself/Workspace/project_time/mysql/foo.cnf which includes only the following:
[mysqld]
skip_column_names … I run MySQL with the command mysql -uroot -p new_database; and type in my password at the prompt, after which I see the MySQL prompt. …
0
votes
Why isn't my !include directive working in MySQL?
Apparently world-writable config files are ignored:
~/Workspace/project_time/mysql () $ mysql --print-defaults -uroot -p<secret> new_database;
mysql: [Warning] World-writable config file '/Users/myself … 755 and re-run the command, I get the following:
~/Workspace/project_time/mysql () $ chmod 755 foo.cnf
~/Workspace/project_time/mysql () $ mysql --print-defaults -uroot -p<secret> new_database;
mysql …