Author Topic: phpmyadmin configuration problem - export to pdf  (Read 1969 times)

0 Members and 1 Guest are viewing this topic.

Offline vmavrouTopic starter

  • Irregular
  • Posts: 42
    • View Profile
phpmyadmin configuration problem - export to pdf
« on: February 24, 2010, 11:50:13 AM »
Hi, i'm trying to activate the export to pdf function but it seems that is not so easy
i have the following
    * Apache/2.0.63 (Win32) PHP/5.2.5
    * MySQL client version: 5.0.45
    * PHP extension: mysql

phpMyAdmin

    * Version information: 3.0.1.1

i executed first this file i have attached that comes with the phpmyadmin package
then i executed these :

GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';
GRANT SELECT (
    Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
    Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
    File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,
    Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,
    Execute_priv, Repl_slave_priv, Repl_client_priv
    ) ON mysql.user TO 'pma'@'localhost';
GRANT SELECT ON mysql.db TO 'pma'@'localhost';
GRANT SELECT ON mysql.host TO 'pma'@'localhost';
GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
    ON mysql.tables_priv TO 'pma'@'localhost';

then this one :
GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';

and then i inserted into config.inc the following :
$cfg['Servers'][$i]['controluser']   = 'pma';
$cfg['Servers'][$i]['controlpass']   = 'pmapass';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';

Am i doing something wrong?
Thanks in advance

[attachment deleted by admin]

Offline fenway

  • MySQL Si-Fu / PHP Resident Alien
  • Global Moderator
  • 'Mind Boggling!'
  • *
  • Posts: 15,444
  • Gender: Male
    • View Profile
Re: phpmyadmin configuration problem - export to pdf
« Reply #1 on: February 24, 2010, 02:50:30 PM »
Sorry, I don't actually see an error here.
:anim_rules: Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.