Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下は、名前が「xian_」で始まるすべてのデータベースにすべての証明を付与することを理解するようになりましたが、mysql は構文エラーについて不平を言いますnear ''xian_...
near ''xian_
GRANT ALL PRIVILEGES ON 'xian_%.*' TO xian@'192.168.1.%';
正しい構文は何ですか? ワイルドカードでもあるため、_ニーズも逃げていると考えてよろしいですか?\_
_
\_
`データベース名の代わりに使用'し、エスケープします_
`
'
GRANT ALL PRIVILEGES ON `xian\_%`.* TO xian@'192.168.1.%';