MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Sinisa Milivojevic Date:March 22 2001 12:06pm
Subject:Re: mysql_convert_table_format ignores my.cnf password setting
View as plain text  
khera@stripped writes:
 > 
 > >Description:
 > mysql_convert_table_format ignores password setting for client in my.cnf.
 > 
 > >How-To-Repeat:
 > create ~/.my.cnf with this:
 > 
 > [client]
 > password=SomeThing
 > 
 > with that as your account's password.
 > 
 > run 'mysql_convert_table_format test'
 > 
 > this error comes back:
 > Can't connect to database vkmlm: Access denied for user: 'khera@localhost' (Using
password: NO)
 > 
 > >Fix:
 > supply --password=SomeThing on mysql_convert_table_format command line.
 > 
 > >Submitter-Id:	<submitter ID>
 > >Originator:	Vivek Khera
 > >Organization:
 >   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 >   Vivek Khera, Ph.D.                Khera Communications, Inc.
 >   Internet: khera@stripped       Rockville, MD       +1-240-453-8497
 >   AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
 > >
 > >MySQL support: [none | licence | email support | extended email support ]none
 > >Synopsis:	
 > >Severity:	non-critical
 > >Priority:	low
 > >Category:	mysql
 > >Class:		sw-bug
 > >Release:	mysql-3.23.35 (Source distribution)
 > >Server: /usr/local/bin/mysqladmin  Ver 8.18 Distrib 3.23.35, for -freebsd4.2 on
i386
 > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
 > This software comes with ABSOLUTELY NO WARRANTY. This is free software,
 > and you are welcome to modify and redistribute it under the GPL license
 > 
 > Server version		3.23.35
 > Protocol version	10
 > Connection		Localhost via UNIX socket
 > UNIX socket		/var/db/mysql/mysql.sock
 > Uptime:			1 day 21 hours 55 min 50 sec
 > 
 > Threads: 1  Questions: 75823  Slow queries: 0  Opens: 80  Flush tables: 1  Open
tables: 20 Queries per second avg: 0.459
 > >Environment:
 > 	
 > System: FreeBSD yertle.kciLink.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Jan 29
14:08:27 EST 2001    
khera@stripped:/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/YERTLE 
i386
 > 
 > 
 > Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc
/usr/bin/cc
 > GCC: Using builtin specs.
 > gcc version 2.95.2 19991024 (release)
 > Compilation info: CC='cc'  CFLAGS='-O -pipe -ffast-math -mfancy-math-387'  CXX='c++'
 CXXFLAGS='-O -pipe -ffast-math -mfancy-math-387 -felide-constructors -fno-rtti
-fno-exceptions'  LDFLAGS=''
 > LIBC: 
 > -r--r--r--  1 root  wheel  1169446 Jan 29 14:09 /usr/lib/libc.a
 > lrwxr-xr-x  1 root  wheel  9 Jan 29 14:10 /usr/lib/libc.so -> libc.so.4
 > -r--r--r--  1 root  wheel  559516 Jan 29 14:10 /usr/lib/libc.so.4
 > Configure command: ./configure  --localstatedir=/var/db/mysql --without-perl
--without-debug --without-readline --without-bench --with-mit-threads=no --with-libwrap
--with-low-memory --with-unix-socket-path=/var/db/mysql/mysql.sock --enable-assembler
--with-berkeley-db --prefix=/usr/local i386--freebsd4.2
 > Perl: This is perl, version 5.005_03 built for i386-freebsd
 > 


Hi!

You are right. But as it is Perl script, it truly depends on DBI that
you have and MySQL C library on which it is built.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team
Thread
mysql_convert_table_format ignores my.cnf password settingkhera21 Mar
  • Re: mysql_convert_table_format ignores my.cnf password settingSinisa Milivojevic22 Mar