RE: [PHP-ES] [OT] Duda de MySQL

From: Date: Sun, 16 Dec 2001 15:15:07 +0000
Subject: RE: [PHP-ES] [OT] Duda de MySQL
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-16767@lists.php.net to get a copy of this message
descubrí la pass del usuario ODBC, ¡No Hay Pass! cuando me pregunta por el pass pulso enter o intro y ya está!!!, no creo que sea muy normal, así todo el mundo puede acceder a mi mysql diciendo que es windows, tengo W98SE, tengo otra duda, ya conseguí poner la tabla en mi localhost, pero ¿como lo hago en mi host de internet? habia pensado en el php, alguien me dice como puedo traducir un .sql a un .php? el .sql es este (lo envio también con los comentarios): siendo el host mysql, el user user y el pass pass. gracias # phpMyAdmin MySQL-Dump # http://phpwizard.net/phpMyAdmin/ # # Serveur: localhost Base de données: newsletter # -------------------------------------------------------- # # Structure de la table 'nlconfig' # CREATE TABLE nlconfig ( id tinyint(4) DEFAULT '1' NOT NULL, nomnews varchar(255) NOT NULL, hebergeur varchar(255) NOT NULL, fromc varchar(255) NOT NULL, fromonline varchar(255) NOT NULL, limitconf tinyint(2) DEFAULT '3' NOT NULL, host varchar(255) NOT NULL, user varchar(255) NOT NULL, passwd varchar(255) NOT NULL, db varchar(255) NOT NULL, tablenews varchar(255) NOT NULL, tabletemp varchar(255) NOT NULL, tablelog varchar(255) NOT NULL, tableconfig varchar(255) NOT NULL, admin_pass varchar(255) NOT NULL, limitlog tinyint(2) DEFAULT '10' NOT NULL, url varchar(255) NOT NULL, pathtopmn varchar(255) NOT NULL, langfile varchar(255) NOT NULL, welcome_subj varchar(255) NOT NULL, welcome_msg text NOT NULL, sub_msg text NOT NULL, pied tinytext NOT NULL, validation tinyint(1) DEFAULT '1' NOT NULL ); # # Contenu de la table 'nlconfig' # INSERT INTO nlconfig VALUES ( '1', '', '', '', '', '3', '', '', '', '', '', '', '', 'nlconfig', 'password', '3', 'http://localhost/', 'news/news/', 'lang-spanish.php', 'Bienvenido', 'Bienvenido al Newsletter', 'Hola, has solicitado el alta en el newsletter', 'contacta conmigo en el correo ferre@inicia.es', '1'); -----Mensaje original----- De: Angel Fenoy [mailto:afenoy@wol.es] Enviado el: domingo 16 de diciembre del año 2001 15:06 Para: lista@phpes.com Asunto: Re: [PHP-ES] [OT] Duda de MySQL Diumenge 16 Desembre 2001 14:44, [^KirO^] dixit: > c:\mysql\bin>mysql -p news < c:\web\80\news\news\sql\dump_en.sql > Enter password: ****** > ERROR 1045: Acces denied for user: 'ODBC@localhost' (Using Password: SI) > > ¿que pasa? el usuario se supone que es kiro no ODBC En sistemas Unix, el usuario es el usuario del sistema: root, angel, kiro o quien sea que hizo el login. En tu windows, ni idea, yo no uso mysql en windows, y ni siquiera dices en qué tipo de windows estás, pero es evidente que el usuario por defecto es ODBC@localhost, no kiro. > ¿que hago? Haz mysql --help, ahí tienes todas las opciones, alguna de ellas sirve para especificar un usuario distinto. Saludos Àngel --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/ Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com

« previous php.general.es (#16767) next »