MySQLas popularity has brought a flood of questions about how to solve specific problems, and thatas where this cookbook is essential. When you need quick solutions or techniques, this handy resource provides scores of short, focused pieces of code, hundreds of worked-out examples, and clear, concise explanations for programmers who donat have the time (or expertise) to solve MySQL problems from scratch. Ideal for beginners and professional database and web developers, this updated third edition covers powerful features in MySQL 5.6 (and some in 5.7). The book focuses on programming APIs in Python, PHP, Java, Perl, and Ruby. With more than 200+ recipes, youall learn how to: Use the mysql client and write MySQL-based programs Create, populate, and select data from tables Store, retrieve, and manipulate strings Work with dates and times Sort query results and generate summaries Use stored routines, triggers, and scheduled events Import, export, validate, and reformat data Perform transactions and work with statistics Process web input, and generate web content from query results Use MySQL-based web session management Provide security and server administrationREVOKE syntax is generally similar to GRANT but uses FROM rather than TO: REVOKE privileges ON scope FROM account; Thus, to remove the ... use these REVOKE statements (and SHOW GRANTS to verify that they were removed): mysqlagt; REVOKE FILE ON * ... mysqlagt; REVOKE ALL ON cookbook. ... mysqlagt; REVOKE SELECT(User, Host), UPDATE(password_expired) -agt; ON mysql.user FROManbsp;...
|Publisher||:||"O'Reilly Media, Inc." - 2014-07-28|