• Resolved Sardeh

    (@sardeh)


    I got the same error as listed in the FAQ (see below), but the line extension=pdo_mysql.so isn’t commented in my php.ini.

    What do I do?
    _____________________

    FAQ:
    I get this error: PHP Fatal error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’

    You have to enable PDO_MySQL in php.ini on the WordPress host. That means uncomment the line extension=pdo_mysql.so in php.ini

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Kerfred

    (@kerfred)

    If you use PHP < 5.3 on Windows, it may be:
    extension=php_pdo.dll
    extension=php_pdo_mysql.dll

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error – MYSQL_ATTR_INIT_COMMAND’ is closed to new replies.