Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2018-08-14, 08:43:36

Author Topic: Please finally fix phpMyAdmin installation  (Read 2382 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,962
  • Karma: +1/-0
    • View Profile
Please finally fix phpMyAdmin installation
« on: 2013-02-10, 22:57:57 »
This is my 100 request for the same...

Stop errors and warnings inside phpMyAdmin

/usr/local/lxlabs/kloxo/httpdocs/thirdparty/phpMyAdmin/main.php

Code: [Select]
/**
 * Warning about different MySQL library and server version
 * (a difference on the third digit does not count).
 * If someday there is a constant that we can check about mysqlnd, we can use it instead
 * of strpos().
 * If no default server is set, PMA_DBI_get_client_info() is not defined yet.
 * Drizzle can speak MySQL protocol, so don't warn about version mismatch for Drizzle servers.
 */
//if (function_exists('PMA_DBI_get_client_info') && !PMA_DRIZZLE) {
//    $_client_info = PMA_DBI_get_client_info();
//    if ($server > 0 && strpos($_client_info, 'mysqlnd') === false && substr(PMA_MYSQL_CLIENT_API, 0, 3) != substr(PMA_MYSQL_INT_VERSION, 0, 3)) {
//        trigger_error(
//            PMA_sanitize(
//                sprintf(
//                    __('Your PHP MySQL library version %s differs from your MySQL server version %s. This may cause unpredictable behavior.'),
//                    $_client_info,
//                    substr(
//                        PMA_MYSQL_STR_VERSION,
//                        0,
//                        strpos(PMA_MYSQL_STR_VERSION . '-', '-')
//                    )
//                )
//            ),
//            E_USER_NOTICE
//        );
//    }
//    unset($_client_info);
//}

import file /usr/local/lxlabs/kloxo/httpdocs/thirdparty/setup/scripts/create_tables.sql via phpMyAdmin directly - this will create database phpmyadmin itself.

In /usr/local/lxlabs/kloxo/httpdocs/thirdparty/config.inc.php file:

Code: [Select]
/* User for advanced features */
 $cfg['Servers'][$i]['controluser'] = 'root';
 $cfg['Servers'][$i]['controlpass'] = 'somepassword';
/* Advanced phpMyAdmin features */
 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
 $cfg['Servers'][$i]['relation'] = 'pma_relation';
 $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
 $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
 $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
 $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
 $cfg['Servers'][$i]['history'] = 'pma_history';
 $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
 $cfg['Servers'][$i]['recent'] = 'pma_recent';
 $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
 $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
 $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.04 seconds with 18 queries.

web stats analysis