Re: problemas con mysql

From: Date: Fri, 12 Nov 2004 23:15:16 +0000
Subject: Re: problemas con mysql
References: 1 2  Groups: php.general.es 
Request: Send a blank email to general-es+get-52153@lists.php.net to get a copy of this message
Bueno, creo que ya encontraron la solucion, pero para aportar nomas un pequeño granito de arena a esta duda queria decir que deberia configurarce eso en httpd.conf si mal no recuerto y setear que la autenticacion de usuario (authentication si mal no lo escribi) sea por "http" con uso de contraseña ( Password )en "yes". Saludos, Cesar On Thu, 11 Nov 2004 16:11:11 -0800 (PST), Alexander Sanchez <alexander_sanchez@yahoo.com> wrote: > > > Gracias funciono. > > yo he programado en asp, cuando se trabaja con baese de datos access normalmente cuando se usa > conexión dns less , se coloca la ruta virtual del servidor ej: > > dim cnn,rst,colecta, vinculo,compara,textAreaData > ' Creamos la conexión a la base de datos sin DSN > set cnn = Server.CreateObject("ADODB.Connection") > set rst = Server.CreateObject("ADODB.RecordSet") > cnn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_ > Server.MapPath("../../db/db2.mdb")) > sqltext = "SELECT * FROM Tabla1 " > rst.Open sqltext,cnn,3,3 > > HAGO MI BASE DE DATOS EN ACCESS Y YA LA COLOCO , COMO FUNCIONA ESTO EN PHP, COMO TOMO LA BASE > DE DATOS Y LA PONGO EN UN DIRECTORIO TAL ?. > > ALGUNA AYUDA ES BIEN RECIBIDA > > Jacouce <jacouce@terra.es> wrote: > Desde el phpmyadmin debes de asignar una contraseña al usuario root. > * Desde la ficha privilegios > * Edita la cuenta root > * Asigna una contraseña en el apartado Cambio de contraseña. > > Luego y para poder ejecutar correctamente el phpmyadmin debes de asignar la > contraseña al fichero de configuración del phpmyadmin > * Edita el fichero config.inc.php (Generalmente situado en > C:\AppServ\www\phpMyAdmin) > * Modifica la línea $cfg['Servers'][$i]['password'] = > 'contraseña'; // (Donde contraseña debe de ser sustituida por la contraseña > que le asignaste a root) > * Si además has creado un usuario nuevo y quieres que sea ese nuevo > usuario el que utilice el phpmy admin modifica la línea > > $cfg['Servers'][$i]['user'] = 'root'; // (Donde root lo > cambiarás por el nuevo nombre de usuario) > > Espero que con eso se solucione el problema > > un saludo > ----- Original Message ----- > From: "Alexander Sanchez" > To: "Esteban Fernández" ; "'luis medrano'" > ; > > Sent: Thursday, November 11, 2004 12:27 AM > Subject: [PHP-ES] problemas con mysql > > > ESTIMADOS LISTEROS > > > > TENGO UN PROBLEMA CON MYSQL, TENGO INSTALADO "APPSERV", UN PROGRAMA QUE > > INSTALA MYSQL, PHP Y APACHE. > > ADEMÁS HE INSTALADO "PHPMYADMIN" PARA TRABAJAR LAS BASES DE DATOS, QUE > > SERVIRAN PARA LAS PÁGINAS EN PHP. > > > > CUANDO HABRO EL PHPMYADMIN ME ARROJA EL SIGUIENTE ERROR: > > > > > > Su archivo de configuración contiene parámetros (root sin contraseña) que > > corresponden a la cuenta privilegiada predeterminada de MySQL. Su servidor > > de MySQL está usando estos valores, que constituyen una vulnerabilidad. Se > > le recomienda corregir esta brecha de seguridad. > > > > HE CONSULTADO LA AYUDA DE MYSQL , REALIZANDO LO SIGUIENTE: > > > > nstalling and Settings of WinMySQLadmin as Service on WinNT > > > > Important: > > > > If the MySQL server is running, stop it and remove the service is it > > already installed. > > > > If you have already the my.cnf or my.ini file on your environment, you > > need to rename this file with other name, because the WinMySQLAdmin tool > > creates its own my.ini file. > > > > Run WinMySQLAdmin.exe, once started WinMySQLAdmin will try to locate the > > 'my.ini' file in the Windows directory. If the ' > > my.ini' file is not found the Quick Setup screen is launched: > > > > Enter your user name and password text boxes then click on the create > > button. > > > > The my.ini file will be created, one user will be added to the grant table > > and a shortcut will be added to the start menu. If you are using a > > registered version of MySQL, mysqld-nt is the Server is the one that is > > chosen. The location of my.ini should be e.g. c:\winnt. > > > > PERO DA EL MISMO ERROR. > > > > ALGUIÉN SABE COMO SOLUCIONARLO? > > > > UNA PREGUNTA, COMO VERÁN SOY NOVATO EN ESTO, PERO HE PROGRAMADO ALGO EN > > ASP,. QUISIERA SABER SI LA CREACIÓN DE LAS BASES DE DATOS EN MYSQL, SE > > PUEDE HACER DE UNA MANERA SENCILLA COMO SE HACE CON ACCESS , PARA ASP. > > > > > > > > SALUDOS. > > > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Check out the new Yahoo! Front Page. www.yahoo.com > > -- > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --------------------------------- > Do you Yahoo!? > Check out the new Yahoo! Front Page. www.yahoo.com > -- ____________________________________ Cesar E. Diaz - Analista en Informática Aplicada Msn : cesarstafe@hotmail.com Area de Mantenimiento Informático - Fac. Ciencias Económicas - UNL Sector Infomático Inst. Prov. Estadisticas y Censos - Santa Fe "Mucho razonamiento y poca observación llevan al error, mucha observación y poco razonamiento llevan a la verdad " Luigi Giussani

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