~sergei.glushchenko/percona-pam-for-mysql/BT32086-bug1160348

« back to all changes in this revision

Viewing changes to doc/source/faq.rst

  • Committer: Hrvoje Matijakovic
  • Date: 2012-02-02 11:51:49 UTC
  • mfrom: (18.1.1 bug901242)
  • Revision ID: hrvoje.matijakovic@percona.com-20120202115149-o0d6a52sjh6on9ew
bugfix for bug901242

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
After you restart mysqld for changes to take effect, pam_unix authentication will work.
41
41
 
42
42
The other option is to run mysqld as root. This should be used for testing only or as a last resort method.
 
43
 
 
44
 
 
45
I'm getting the: "ERROR 2059 (HY000): Authentication plugin 'auth_pam' cannot be loaded"
 
46
========================================================================================
 
47
 
 
48
This means that the default client :option:`plugin-dir` setting doesn't work or it isn't set up properly. You'll need to add the location of the plugin folder to your client configuration: :: 
 
49
  
 
50
  [client]
 
51
  plugin_dir='/usr/lib/mysql/plugin'