next up previous contents
Siguiente: Administración. Subir: Instalación Anterior: El fichero config.php   Índice General

Instalación de phpMyAdmin

phpMyAdmin es una excelente herramienta que nos permitirá controlar MySQL desde cualquier navegador, independientemente de la plataforma sobre la que esté el usuario.

Para descargarnos phpMyAdmin acudiremos a su página de descarga en
http://phpmyadmin.sourceforge.net. Su administración es sencilla y viene perfectamente documentada en el propio paquete. Aquí vamos a ver su configuración para hacerla funcionar con el fin de poder utilizar phpMyAdmin en las tareas de creación, mantenimiento y copias de seguridad de PHP-Nuke.

Descomprimimos el paquete en un directorio accesible vía web.

Nos interesan las siguientes líneas del fichero config.inc.php

/**
 * Server(s) configuration
 */
 // The $cfgServers array starts with $cfgServers[1].  Do not use $cfgServers[0].
 // You can disable a server config entry by setting host to ''.
 $cfgServers[1]['host']          = 'localhost'; // MySQL hostname
 $cfgServers[1]['port']          = '';          // MySQL port - leave blank for default port
 $cfgServers[1]['socket']        = '';          // Path to the socket - leave blank for default socket
 $cfgServers[1]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
 $cfgServers[1]['stduser']       = '';          // MySQL standard user settings (this user must have read-only
 $cfgServers[1]['stdpass']       = '';          //   access to the "mysql/user" and "mysql/db" tables)
 $cfgServers[1]['adv_auth']      = TRUE;       // Use advanced authentication?
 $cfgServers[1]['user']          = 'root';      // MySQL user
 $cfgServers[1]['password']      = '';          // MySQL password (only needed with basic auth)
 $cfgServers[1]['only_db']       = '';          // If set to a db-name, only this db is displayed at left frame
                                                 // It may also be an array of db-names
 $cfgServers[1]['verbose']       = '';          // Verbose name for this host - leave blank to show the hostname
 $cfgServers[1]['bookmarkdb']    = '';          // Bookmark db - leave blank for no bookmark support
 $cfgServers[1]['bookmarktable'] = '';          // Bookmark table - leave blank for no bookmark support

El único cambio a realizar son los de user y password, que pondremos nuestro usuario y clave.

Para usarlo sólo hay que poner la dirección en un navegador e identificarnos. Después de entrar tendremos abundante información sobre el uso de phpMyAdmin.



Manual de PHP-Nuke - http://www.phpnuke-espanol.org/