[off-topic] testing mailing list

2006-05-23 Thread Victor Medina
this is just a test, please ignore

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql-5.0.3-alpha-nightly-20041215 doesn't compile

2004-12-20 Thread Victor Medina
JUST copy it from the 5.0-alpha source. =)
On Mon, 2004-12-20 at 11:30 +0100, John PAUL wrote:
 Hi,
 So sorry for my poor english.
 
 I've tried to compile the last mysql snapshot on Fedora Core 1 without any 
 success due to a missing file.
 
 Find here the error message obtained :
 make[2]: Entre dans le répertoire 
 `/tmp/mysql-5.0.3-alpha-nightly-20041215/extra'
 ../extra/comp_err --charset=./../sql/share/charsets --out-dir=../sql/share/ 
 --header_file=../extra/mysqld_error.h --state_file=../extra/sql_state.h 
 --in_file=./../sql/share/errmsg.txt
 ../extra/comp_err: File './../sql/share/errmsg.txt' not found (Errcode: 2)
 Failed to parse input file ./../sql/share/errmsg.txt
 make[2]: *** [created_include_files] Erreur 1
 make[2]: Quitte le répertoire `/tmp/mysql-5.0.3-alpha-nightly-20041215/extra'
 make[1]: *** [all-recursive] Erreur 1
 make[1]: Quitte le répertoire `/tmp/mysql-5.0.3-alpha-nightly-20041215'
 make: *** [all] Erreur 2
 
 
 Where can I find this missing file ?
 
 I've also tried to touch the missing file, bad idea, I got a parsing error. 
 
 Thanks for your help.
 John
 
 
-- 

Victor Medina M.
Linux - Java - MySQL
Telf.: 0241-8507325
Ext.: 325
Cell.: 0412-3640959
mail: [EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



MySQL Admin Keeps crashing on FC3

2004-12-06 Thread Victor Medina
Hi all!

I recently updated my system to FC3, i installed MySQL Administrator
from the mysql.com binaries, but they keep crashing every time. This is
the error message:

[EMAIL PROTECTED] ~]$ /opt/mysql-administrator/bin/mysql-
administrator
*** glibc detected *** free(): invalid pointer: 0x08522568 ***
/opt/mysql-administrator/bin/mysql-administrator: line 9:  4720 Aborted
$MYPATH/mysql-administrator-bin
[EMAIL PROTECTED] ~]$


Does any body can help me out with this one?

Best Regards

-- 

Victor Medina M.
Linux - Java - MySQL
Telf.: 0241-8507325
Ext.: 325
Cell.: 0412-3640959
mail: [EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: logs

2004-10-29 Thread Victor Medina
THANXS!!! =)
On Thu, 2004-10-28 at 13:37, Gleb Paharenko wrote:
 Hi.
 
 [mysqld]
 ..
 log-error=file
 log=file
 
 
 See:
   http://dev.mysql.com/doc/mysql/en/Server_options.html
   http://dev.mysql.com/doc/mysql/en/Option_files.html
 
   
 
 Victor Medina [EMAIL PROTECTED] wrote:
  Hi!!!
  
  How can i specify the location of the log files in the my.cnf file?
  (general, error, and bin log)
  
  Best Regards
  
  Vic
  
  
 
 
 -- 
 For technical support contracts, goto https://order.mysql.com/?ref=ensita
 This email is sponsored by Ensita.NET http://www.ensita.net/
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
  / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
 /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
___/   www.mysql.com
 
 
 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



mysql docs

2004-10-28 Thread Victor Medina
Hi all!!!

in what part of the documentation can i find references to this
configure options:

 --with-example-storage-engine
  Enable the Example Storage Engine
 
  --with-archive-storage-engine
  Enable the Archive Storage Engine
 
  --with-csv-storage-engine
  Enable the CSV Storage Engine
 


Best Regards

Vic.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql docs

2004-10-28 Thread Victor Medina
OKI! =) is there any place where i can get some info about them?


On Thu, 2004-10-28 at 09:47, Paul DuBois wrote:
 At 9:32 -0400 10/28/04, Victor Medina wrote:
 Hi all!!!
 
 in what part of the documentation can i find references to this
 configure options:
 
   --with-example-storage-engine
Enable the Example Storage Engine
 
--with-archive-storage-engine
Enable the Archive Storage Engine
 
--with-csv-storage-engine
Enable the CSV Storage Engine
 
 None yet.  It's still on the to-do list.
 
 -- 
 Paul DuBois, MySQL Documentation Team
 Madison, Wisconsin, USA
 MySQL AB, www.mysql.com


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



logs

2004-10-28 Thread Victor Medina
Hi!!!

How can i specify the location of the log files in the my.cnf file?
(general, error, and bin log)

Best Regards

Vic


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



issues with mysql cluster

2004-10-08 Thread Victor Medina
Hi all!

When dealing with MySQL clusters using ndb... I have configured a 4
nodes under linux. I would like to access the 4nodes cluster using
jdbc... how do i specify that the application should connect to any of
the db servers in the cluster using connector/j?

Vic.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



[OFF-TOPIC] MySQL License Question

2004-09-24 Thread Victor Medina
Hi!

I sent this question to the mysql license email, but it's been more than
3 days since then and I haven't received a answer... So I will ask it
again here, to see if someone can clarify this issue.


We are small hardware store. We have developed our own POS software to
fill our necessities  for our 12 stores. We developed our software using
MySQL and Java, and they run on Linux. Our POS can run any other DB, but
we really like MySQL. The thing is, we cannot afford paying a MySQL
licence (every single pos we want to implement in the coming months will
have to use a copy of mysql db installed) for every single POS we
implement. As I had understood your license, we can apply for a GPL
MySQL since our pos   software: 

.- It's not for sell, we do no distribute to 3rd parties, our pos is
only for internal use. We are using the MySQL that shipped with our
linux distro.

.- Our software can use other db's , we just use MySQL because it is
really good and our choice, but we can use any other jdbc compliant db. 

Am i right ?? We would like to apply for a paid support in the future,
but we cannot afford a MySQL license for each POS we implement.  

We haven't infringed in any legal aspect, since we have only used mysql
for development, we still have not deployed, am i right?

Would you be so kind, and explain to me, the details in this case?

Thanxs! =)


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: [OFF-TOPIC] MySQL License Question

2004-09-24 Thread Victor Medina
On Fri, 2004-09-24 at 11:05, Jim Grill wrote:
  Hi!
 
  I sent this question to the mysql license email, but it's been more than
  3 days since then and I haven't received a answer... So I will ask it
  again here, to see if someone can clarify this issue.
 
 
 Are you actually distributing MySQL with your application? Or are you just
 using installations that are installed separately?
 
 You only need the licensed version for two possible reasons:
 
 1) You are bundling the MySQL server or the C client code in your
 application which is not licensed under the GPL or a compatible Open Source
 Initiative license approved by MySQL.

NOPE, we plan to install the POS application in machines that previously
have a MySQL installed. I mean, we will install linux into the computer,
later we will install MySQL, and after that we will install our POS
software, the POS software is just a plain jar file. 

So... as i can see, we ONLY use MySQL. We will use the MySQL version
that may come with the linux distro, or one we compiled ourself.

Second, the POS application is _ONLY_ for internal use.

we haven't broke any rule, isn't it? =) 

 
 2) You want support.
 
 That's it. Pretty simple. If your application simply *uses* MySQL but you
 are not distributing any of the MySQL source code in your program or along
 side your program you don't need the license.
 
 If I'm wrong about this someone please yell at me. I've been studying for
 the MySQL certification and this is covered in the first chapter of the
 study guide. :-)
 
 Regards
 
 Jim Grill
 
 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Replication on same machine...

2004-06-21 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all!
Jonathan Villa wrote:
| I have MySQL 4.1 installed via rpm.  I just installed a new hd because I
| want another MySQL installation on the same machine but acting as a
| replication server.
- --8
It won't matter as long as you keep all you mysql
installation-config-instances in separated locations. Also make sure
they'll be listening differents ports and using differents my.cnf's.
|
| At the same time, I want to try out MaxDB on this new installation.  Does
- ---8
MaxDB uses some other port/set-of-config files than MySQL server. There
should not be a problem with this.
| that mean that I can't set up a master/slave replication with the hdb and
| hda?  Or can I go ahead and have a different config with the new instance
| and simply follow the instructions for setting up replication as normal?
YEAP! =) as long as they are in _SEPARATE_ configs
|
| Also, I have the source rpm, I figure I can tweak it to install into my
It could be _WAY_ easier to just do a compile/install the old way, just
change the prefix option of the configure script to poit to differents
locations: --prefix=/opt/mysql-1  --prefix=/opt/mysql-2 ... and so on
| new location which is /mysql2 .  Is that all I need to do make sure that
| it won't interfere with the current install?  How about command such as
| mysqladmin and mysql, etc
|
|
They don't even care as long as you tell them the right ip/port. =)
SO... if performace is not a problem and is just for testing, go ahead!
Best Regards!
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
- ---
.- Este mensaje está digitalmente firmado para garantizar
~   su origen
.- El intercambio de llaves públicas se realiza a petición
~   de las partes interesadas via e-mail
- ---
.- This message has been digitally signed
.- Public Key (PGP or GPG) available upon request
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA1z6c8WJSBCrOXJ4RAhVgAJ0YoXk23mIYiH8kjyBKkvAbu8IJJgCfSgkc
oowua4XLtl/ge2qkPs/omDM=
=yx9d
-END PGP SIGNATURE-


Re: Know of a MySQL powered Instant Messaging system

2004-06-08 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Terence wrote:
| We're looking for a client-server instant messaging system (opensource),
| powered by MySQL if possible. Anyone know of one?
| I've been taking a look at Gaim, Sim etc, but these all piggyback on
Yahoo,
| MSN etc which is not what we're looking for since it must run on our lan.
|
| Thanks for any ideas...
|
|
Jabber _DOES_ use MySQL as it's backend if configured to do so, but it
can also use, Berkeley DB and LDAP.
Best Regards
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAxeP78WJSBCrOXJ4RAvR7AJ4if9YKQpE4iRPCSOykgluCd4Oh7QCgzzMP
Mk+VEQKsVTrDFXvgmKlvd1Y=
=tp7F
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: When 4.1.2 release

2004-05-24 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marek Lewczuk wrote:
| In the documentation there is a note that 4.1.2 will be released soon. I
| need some features which are available only in this version... Any
| estimated date when it will be ? Sorry for asking about the same thing...
|
| ML
|
|
|
you can always get the latest using the cvs.! =)
Best Regard!
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
- ---
.- Este mensaje está digitalmente firmado para garantizar
~   su origen
.- El intercambio de llaves públicas se realiza a petición
~   de las partes interesadas via e-mail
- ---
.- This message has been digitally signed
.- Public Key (PGP or GPG) available upon request
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAsfnQ8WJSBCrOXJ4RAglpAKCeRmWZppkr6tfi8Qyqec2ZRSkkcgCfSAuE
cHfm7owGbmD0RsSSg4JiUsI=
=5fb+
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Encryption

2004-05-21 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg Willits wrote:
| On May 21, 2004, at 1:54 AM, [EMAIL PROTECTED] wrote:
|
| What level of Encryption does MySQL have? I cannot find much security
| information from mysql.com.
|
|
| http://dev.mysql.com/doc/mysql/en/Encryption_functions.html
|
| -- greg willits
|
|
Any level of SSL provided by the underlying OpenSSL implementation of
your system
Best Regards!
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
- ---
.- Este mensaje está digitalmente firmado para garantizar
~   su origen
.- El intercambio de llaves públicas se realiza a petición
~   de las partes interesadas via e-mail
- ---
.- This message has been digitally signed
.- Public Key (PGP or GPG) available upon request
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFArfO58WJSBCrOXJ4RAuebAKCRZqJm0jKhhj5qgdTF56AhsUG9eQCgpWix
61GksnvoWwQgMlPMnPWyYTc=
=xduK
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

tests please ignore

2004-05-20 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
- ---
.- Este mensaje está digitalmente firmado para garantizar
~   su origen
.- El intercambio de llaves públicas se realiza a petición
~   de las partes interesadas via e-mail
- ---
.- This message has been digitally signed
.- Public Key (PGP or GPG) available upon request
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFArK3Q8WJSBCrOXJ4RApvwAJ9F1KP/8wBfDorSv9I04Z2DNlvO9gCeO0kU
iTiOcrZ1bXUdPK7YCRljGkE=
=B1R4
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL/InnoDB-4.0.20 is released

2004-05-18 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark wrote:
| Heikki Tuuri wrote:
|
|
|Release 4.0.20 is mainly a bugfix release, but there are also some
|important functional changes. Release 4.0.19 was completely skipped
|over because Bug #3596 might have caused segmentation faults on some
|platforms. The changelog below lists all the changes since 4.0.18.
|
|
| Will that require an upgrade from Perl DBD drivers as well? (like when
I did when I moved from 3.23.58 to 4.0.18). I really hope not. :)
|
| - Mark
|
|
There shouldn't be any problems with Perl BDB =)
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
- ---
.- Este mensaje está digitalmente firmado para garantizar
~   su origen
.- El intercambio de llaves públicas se realiza a petición
~   de las partes interesadas via e-mail
- ---
.- This message has been digitally signed
.- Public Key (PGP or GPG) available upon request
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAql2Z8WJSBCrOXJ4RAgTXAKCrJDOV2vYXGrG61N3fYgYzjVe/MQCfcE41
GiZe0vHEYSHGyjHW9zPA6tk=
=1zbO
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL/InnoDB-4.0.20 is released

2004-05-18 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark wrote:
| Heikki Tuuri wrote:
|
|
|Release 4.0.20 is mainly a bugfix release, but there are also some
|important functional changes. Release 4.0.19 was completely skipped
|over because Bug #3596 might have caused segmentation faults on some
|platforms. The changelog below lists all the changes since 4.0.18.
|
|
| Will that require an upgrade from Perl DBD drivers as well? (like when
I did when I moved from 3.23.58 to 4.0.18). I really hope not. :)
|
| - Mark
|
|
There shouldn't be any problems with Perl BDB =)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAqmHW8WJSBCrOXJ4RArrBAJ0fAxYqrL97+AIMjxOckIfLmk/4lACgp9H1
6836Z0JQKjc8st3BzKaD4vQ=
=3Cqb
-END PGP SIGNATURE-
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

please ignore

2004-04-15 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
please ignore
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAfnQ38WJSBCrOXJ4RAoLdAKCzq8I7IyYWdeOZhAearCOtdiy5SACff13C
rXyNw+3aprFYN2v5pd+PELs=
=ppFP
-END PGP SIGNATURE-
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


ignore

2004-04-15 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi, i been having problems with my mail server, just ignore this message.
- --
~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAfoF68WJSBCrOXJ4RAvAHAJ45Row9Tx9YX4dljRSfKLuyBvATRQCeKt2/
xpEhRCE3zNsfJnyHjgfTQrw=
=U2t2
-END PGP SIGNATURE-
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: How to protect MySQL server from intruders ?

2004-04-13 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!

If the application is _NOT_ local you can restrict complete acces to one
and only one machine, host, or network mask using the grant statement.
Also changing mysql default port is not a bad idea, at least it make it
~ more dificult to guess
Best Regards!

- --

~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAe7xN8WJSBCrOXJ4RAieIAKDRprMb6XdpL0gknILE1iwyusf1VACgvO7K
SLbas9lteCXTAv2yVCBSeqk=
=Z6Vj
-END PGP SIGNATURE-
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling mysql on a pentium

2004-04-13 Thread Victor Medina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!

CFLAGS=-O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer
- -fno-exceptions -fno-ftti -felide-constructors
CXXFLAGS the same as above.

Check out Securing and Optimizing Linux in the tldp.org i think is
just what you nedd.
Best Regards!



- --

~ |...|
~ |  _    _|Victor Medina M   |
~ |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
~ | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
~ | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
~ |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
~ ||Cel: +58-412-8859934  |
~ ||geek by nature - linux by choice  |
~ |...|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAe7068WJSBCrOXJ4RAvJCAJ0QIctA0Ov/gPzQww/hE1SFvphNMQCfYPl/
EJLxkX28Kc9Q67z29fHqJx4=
=6vBO
-END PGP SIGNATURE-
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: 5.0 on the Mac?

2004-04-07 Thread Victor Medina
James McConnell wrote:
Hey all.  I had asked a few days ago if anyone had experience installing 4.1
on the Mac and got no reply, but that's cool :-).  Has anyone installed 5.0
on the Mac?  Any problems?  I'd like to try it, but I thought I'd ask and
see if there was anything I needed to know before I tried installing it.
Thanks, all!
James McConnell


HI! if you mean os/max X, it comes bundled with it, you can even 
download a binary from the mysql site =)

Best Regards!

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Hey what, no pity for a new user?

2004-04-07 Thread Victor Medina
If apple continues to bundle MySQL with panther and does not give any 
kind of support for it's users, they should at least donate a few 
machines to us, so we can play with it and give some kind of 
support! YEAP I'll keep dreaming! =) jeje

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Berkeley DB and MySQL

2004-04-06 Thread Victor Medina
Hi all!

When compiling mysql(4.0, 4.1 or 5) can I use a external Berkeley db 
source, and not the one provided with mysql source? I know that the 
configure script provides a --with-berkeley-db-includes and -libs, but.. 
up to what version of bdb can i use? Can I use the latest?

Best Regards!
--
 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


InnoDB or BDB?

2004-04-06 Thread Victor Medina
Hi all!

I am currently developing a small pos (point of sale) application. The 
pos will run on linux and will use java and mysql. I best guess, is that 
only one client will access the db during normal operations. I would 
like to know wich, in your opinion, should be the best option to use. 
The pos application should handle some degree of integrity and 
transaction safe, both bdb and innodb offers this two things, sooo would 
you mind telling me what would you use? and why? =)

Also, pointng me to some url where i can compare bdb vs. innodb 
functionality would be greatly appreciated =)

Best Regards!

PS: we will most probably use 4.1
--
 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


TEST - please ignore!

2004-04-06 Thread Victor Medina
--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Version 5.0 vs. 4.1

2004-04-06 Thread Victor Medina
Yves Goergen wrote:
Just a short question:
does MySQL version 5.0 contain all features of version 4.1? And will new 
additions to 4.1 also be implemented to 5.0 in the same step or may it 
take some time for both versions to be synchronous?

generally yes! =)

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: medida do tempo de consulta em API C

2004-04-06 Thread Victor Medina
Volnei Galbino wrote:
Olá pessoal,
 
Estou fazendo um trabalho em API C na área de otimização de consulta. O
meu problema esta em medir o tempo utilizado pela consulta. Estou usando
difftime(end,start) para avaliar o tempo, só ele está fornecendo o temo
em segundos, o que, na maioria das vezes, não é relevante. Como fazer
para que o tempo seja fornecido em centésimos de segundo, por exemplo?
Há como fazer isto?
 
Um abraço, 
 
Volnei Galbino

Please, this list is in english, try posting in english =)

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


Re: starting mysql daemon.... help me !!!

2004-04-06 Thread Victor Medina
muhammad alqama wrote:
hi

**(plz someone help me urgently)**

i have tried the procedure mentioned below but of no avail.
this is the exact message in .err file
can not start server : bind on unix socket : permission denied
do you have another mysql server running on socket /var/run/mysql/mysql.sock ?
/usr/libexec/mysqld : shutdown complete
mysqld ended

--- i am trying to run the server as root
--- there is no such file as /var/run/mysql/mysql.sock
now what to do

regards
alqama


Hi!

a few things to try:
1.- you should never start the server as root, instead try starting
mysql as mysql user
2.- do you have write permission under /var/run/mysql?
Best Regards

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Why MySQL is used instead of MaxDB?

2004-04-05 Thread Victor Medina
Chris Nolan wrote:
The answers are wide and varied:

* History - MySQL has been an open source product for longer
* Flexibility - MySQL's different table types are ideal for some situations
* Performance - MySQL is the fastest database on the planet for most tasks
* Support - There are massive amounts of software out there that will 
interface with MySQL
--8

Just to add a few more thingies:

Even though MaxDB has better looking admin tools (even the documentation 
is visually more appealing) MySQL is by a  _BIG_ far easier to manage, 
learn and use (even easier to install!). I have been using both data 
bases for a few years now, I belong to both lists, the maxdb and the 
mysql list, i generally feel more confortable using mysql than max db, 
even the syntax used to admin the db seems to be easier to learn and use 
 that the one that comes with dbcli(maxdb command line client).

You can embed mysql server, you cannot embed maxdb is another nice thing.

You can get mysql for free in almost every isp and webhosting on planet 
earth, maybe even in outter space, we'll see... =)

I guess the average is about 1000 persons that knows about mysql against 
1 that knows about maxdb

You can even find more books on mysql.

On the other side, maxdb is a _VERY_ feature rich data base, it has 
triggers, views, and every thing that you might expect from any other 
comercial grade db. A lack of this things in MySQL does not mean that 
mysql is a rather inferior choice, most of this feature can be replaced 
or simulated with a little tweaking and a good knoledge of the sql and 
mysql api.

In the long run, i would like mysql to provide tools comparable to the 
ones provided by maxdb, things like a good gui to REALLY manage the db 
(i mean a tool that let me manipulate the my.cnf, just as an example) 
and implementing long awaited features like views and triggers (i know 
they are planned for 5.1 and above)

(I WISH) i could get a nice mix of features of the best of maxdb and 
mysql, called it MEGA DB =)

CONCLUSION: Download both, try both, subscribe to both list, evaluate 
them, there are certainly jobs, that both databases can perform equally, 
there are task that are better suited for one or the other. It's up to 
you. Anyway, we are here to help! =)

Best Regards!
--
 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling mysql and mysql crashing

2004-04-05 Thread Victor Medina
Michael Stassen wrote:
Christine Ross wrote:

I had to install a source version of mysql and one of the install docs
strongly suggests using
CXXFLAGS=03 -felide-constructors -fno-exceptions -fno-rtti
---8

It's not a CERO, it's an letter O, the correct syntax is:
CXXFLAGS=-O3 -felide-constructors -fno-exceptions-fno-rtti
If you are using a recent intel processor you can even add:
-march=i686 -mcpu=i686
You don't even have to add the -O3 since it will be automatically 
added by the mysql configure script. Just export CXXFLAGS with the other 
optional optims flags, you  can check out what they mean by reading them 
in the gcc man: man gcc


When I did that I noticed in the compile a line that said it wasn't
supported by gcc (3.3.3). Im using CXX=gcc.
--8

What distro are you using?
What mysql server are you trying to compile?
Also when I included it in the build, my statement
about --localstatedir=/usr/local/mysql/data
It's irrelevant, the localstatedir is where mysql, once compiled and 
configured will look for data by default, this default can _ALWAYS_ be 
overriden by changing the configuration file. It's just a default.

Once compiled, you must run a script that will create the default 
databases and tables, _BUT_ once compiled and _INSTALLED_, not before. 
The script is called: mysql_install_db and it should be (normally i 
mean) in /usr/bin

Best Regards!

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Copy Database

2004-04-05 Thread Victor Medina
mysqldump

Maru, Mulugeta wrote:
How can I copy all the tables in a database that I am developing using 5.0 to a production database that uses 4.1.8? All the tables are InnoDB tables.

Regards,

Maru



--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Cant compile embedded mysql server in Windows

2004-04-05 Thread Victor Medina
Karam Chand wrote:
Hello,

I want to use embedded MySQL server library. I
downloaded the latest MySQL 4.1.1 source and unzipped.
I opened up mysql.dsw and set libmysqld as active
project. Using Build-Rebuild All.. I started
compiling it.
After all the related projects were compiled I am
getting the following error while linking:
Linking...
---8

You can download the .zip (precompiled) file from mysql.com and save a 
lot of time.

Best Regards!

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: MySQL installation in Fedora Core 1

2004-03-31 Thread Victor Medina
Hi!

simply put a pair of lines like these pointing out to the correct 
location of your mysql.sock:

socket  = /opt/mysql-4.0.18/mysql.sock

You'll need a line in your client and in your mysqld section of your 
my.cnf (mysql config file)

Best Regards!
Sami Maisniemi wrote:
I intend to build up a web server that is based on Fedora Core 1. 
Installation and configuration of Apache and PHP4 was pretty simple, but 
there are some problems in configuration of MySQL. I installed the MySQL 
server RPM included in the distribution.

8

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: building mysql 4 on RH8

2004-03-31 Thread Victor Medina
Hi!
Marius Stan wrote:
Hello all,

While trying to build MySQL-4.0.18-0.src.rpm downloaded from mysql.com 
on a RedHat 8 I get these:

/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libncurses.a(lib_termcap.o): 
In function `skip_zero':
8

Are you sure you _do_ have ncurses devel packages installed?

Google hints me that the  __ctype_b error should arise only on RH9+ 
because it's glibc doesn't export some stuff anymore, while RH8 should 
be just fine, because:

-8

I always build my packages from source, I used to have mysql 4.1, 4.0.18 
and 5-alpha compiled and running just fine under RH9 (I said used 
cause i have just upgraded from RH9 to SuSE 9) I am pretty sure i still 
have the RH9 packages somewhere. Just let me know if you want my copy. 
=) Again, I never had problems compilling mysql under RH9.

Most of those errors are due to incomplete or not properly configure 
developement-build environments.

Best Regards
--
 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Can't login mysql with root account!

2004-03-31 Thread Victor Medina
Hi!
[EMAIL PROTECTED] wrote:


I have just installed MySQL server v3.23.49-8.5 (downloaded from Debian
Packages Site) into my Debian v3.0r2 box! After finished installing, i had
followed the instruction here to change root's password but right after
--8

Try to do a login without using passwords:

mysql -u root  --- do not provide a password

REASON: by default the root user is allowed to login without password 
from localhost, even though you provide password.

this action, i can't login to mysql any more! I had also try to change
ownership of /var/lib/mysql and all files and subfolders within this
directory to mysql but still login fail!
-8

Providing a error message would be a nice thing to have when trying to 
figure out what's wrong

Best Regards!

--

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Managing Very Large Tables

2004-03-30 Thread Victor Medina
hi!
Chad Attermann wrote:
Hello,

I am trying to determine the best way to manage very large (MyISAM) tables, ensuring that they can be queried in reasonable amounts of time.  
--8
Why insisting in using myIsam, and not use some table format that can 
assure you some degree of crash recovery and transacctional state like 
innodb or bdb? 150k inserts a day is a quiete important number, i don't 
think myisam is an optimal solution for such a data base structure.

Just my two cents my friends! =)

Best Regards!
--
 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


TEST MAIL

2004-03-27 Thread Victor Medina
This is a test amil, please ignore
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: libmysql.dll size increased from 188Kb to 916KB

2004-03-26 Thread Victor Medina
Hi!

It was compiled using additional charecter encoding support, like
chinese, utf, arabian, and others

Best Regards
On Thu, 2004-03-25 at 23:34, Karam Chand wrote:
 Hello,
 
 The size of libmysql.dll binary has increased from
 188KB to 916KB from MySQL 4.0 to MySQL 4.1.1.
 
 Researching around I came to know that the new
 libmysql.dll was compiled linking the new character
 stuff.
 
 What do you mean by character stuff?
 
 Just curious?
 
 Karam
 
 
 __
 Do you Yahoo!?
 Yahoo! Finance Tax Center - File online. File on time.
 http://taxes.yahoo.com/filing.html
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-26 Thread Victor Medina
Hi!

I have just downlaoded the icc, it took about a day and a half to
recieve a confirmation mail with instructions on how downloading it. I
will give a try tomorrow! =)

Best Regards!
PS: Maybe somenody from mysql could give us some advice on how to
compile mysql server witth icc?(on linux, of course!)

On Wed, 2004-03-24 at 17:35, Yonah Russ wrote:
 News-
 
 I have compiled mysql 4.1.1-alpha with the icc compiler using the 
 options intel reported in their case study pdf.
 
 specifically '-O3 -ip -unroll2'
 
 The compilation was pretty ugly and threw up a lot of warnings.
 I'm benchmarking now and I'll let you know what comes out of it.
 yonah
 
 Yonah Russ wrote:
 
  Great! Thanks for the help.
 
  Here is some more info, in case it's helpful- these are all the 
  compile warnings from the make:
 
  my_thr_init.c(67): warning #266: function declared implicitly
 
  pthread_mutexattr_setkind_np(my_fast_mutexattr,PTHREAD_MUTEX_ADAPTIVE_NP); 
 
 ^
  ...
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  sql_string.h(20): warning #161: unrecognized #pragma
   #pragma interface /* gcc class implementation */
   ^
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  sql_string.cc(20): warning #161: unrecognized #pragma
   #pragma implementation// gcc: Class 
  implementation
   ^
 
  sql_string.h(20): warning #161: unrecognized #pragma
   #pragma interface /* gcc class implementation */
   ^
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
 
 
  the rest I've posted already.
  thanks again
  yonah
 
 
 
 
 
  Victor Medina wrote:
 
  Hi!
 
  OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
  SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
  (just to try).
  I installed a complete develompent environment (gcc, bison, yacc, m4,
  etc etc) and it compiles cleanly, again; with gcc, I will download the
  icc just to try =)
 
  Let's see what happens! =)
 
  Best Regards!
   
 
 
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql support question

2004-03-26 Thread Victor Medina
Hi!


On Thu, 2004-03-25 at 19:15, msthom01 wrote:
 My name is Matthew Thomas I am currently a student at Syracuse University 
 working on a senior design project that utilizes your database at the back 
 end. I have data streaming from an RS232 port(COM port on a computer) and I 
 want that information to be able to directly written onto the database. We are 
 looking for c/java/assembly sample code that connects to a COM port and takes 
 that data and stores in onto mysql database. We are using the database on a 
 windows operation system. How do you create a database using the APIs provided 
 on your website? Thanks for the help.

There is no simple-direct way. The MySQL c api will let you do
operations on the db server (inser, select, upgrade, delete) and get
info about the db server (show column in, show tables, etc). It is not
designed to do such things you need. 

On the other hand, you can perfectly write a set of functions to connect
your i/o streams coming from the rs port and input it to the server
using the mysql c api, but _YOU_ have to write the logic. We are
building something similar but we are using java for such purpose and
linux is our os; weird isn't it? =) 

We are using the rxtx.org java classes to conect to the serial port,
then a set of simple clases to create strings out of the i/o streams
coming from the port, then jdbc to insert or update data in our beloved
mysql server.

Best Regards
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Quick mysql question

2004-03-24 Thread Victor Medina
4.0.18 is the latest stable!
On Tue, 2004-03-23 at 19:08, [EMAIL PROTECTED] wrote:

 Hi,
 
 A quick question, which is the most stable version of mysql to run on a very busy 
 and commercial website(s)?
 
 4.0 or is 4.1 stable enough?
 
 Thanks,
 -R.A

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


Re: Interfaces to 5.0.0

2004-03-24 Thread Victor Medina
Hi!
just add old-passwords to the mysqld section of your mysql server and
recreate the users, it should work just fine!, mysql 4 and up has a new
auth mecanism 

Best Regards
On Wed, 2004-03-24 at 00:10, Lokesh wrote:

 Gordon wrote:
 
  A few weeks ago I download the windows version for 5.0.0 and installed
  it on my machine. After successfully installing the new version I was
  able to connect with all of my old tools including MyCC 0.9.3,
  MySQLFront, SQLyog, cmd and MySQL Administrator. 
  
  Yesterday I downloaded the 5.0.0 RPM's for linux and only cmd and the
  9.0.4 version of MyCC. 
  
  Is the interface different on the linux verion vs the windows version?
  Is there some setting I can use to allow the old {and current MySQL
  Administrator} to connect?
  
  
 If you have upgraded from MySQL-3.x or MySQL 4.0; you surely need to 
 concern about compatibility issues. Because of change in authentication 
 mechanism, old clients (pre-4.1) can't talk to MySQL-5.0.0 servers.
 
 Refer to http://www.mysql.com/doc/en/Upgrade.html, which lists the tasks 
 and how to plan for upgrade

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


Re: compiling with icc

2004-03-24 Thread Victor Medina
Hi!
On Wed, 2004-03-24 at 09:51, Yonah Russ wrote:
 Hi,
  I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
8
GUAO! nice!, let us know how faster it is with the Intel compiler, just
curious! =)

 fyi- there is a problem with the configure/libtool script when you don't 
 compile -static and you use ipo... the compilation runs icc -shared to 
 link the libraries but it needs the -ipo option as well.
 
8 
must probably no one here uses the Intel compiler since it is paid =(

 it dies with this error:
 
 IPO Warning: unresolved : rl_attempted_completion_function
Referenced in ipo_icc5X7oE4.o
 IPO Warning: unresolved : rl_completion_entry_function
8

Ncurses devel and the readline libriries must be installed for the
client to compile

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Victor Medina
On Wed, 2004-03-24 at 10:57, Yonah Russ wrote:
8
 make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/moat-files/mysql-4.0.18'
 make: *** [all] Error 2
 
 any ideas what I'm missing?
 thanks
 yonah
 
---8
Something is missing in the path, altough i am guessing here, would you
mind describing your set up? where are things installled.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Victor Medina
Hi!

OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
(just to try). 

I installed a complete develompent environment (gcc, bison, yacc, m4,
etc etc) and it compiles cleanly, again; with gcc, I will download the
icc just to try =)

Let's see what happens! =)

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: mysql error grant tables, help

2004-03-17 Thread Victor Medina
HI!

Sorry for taking so much time to answer, i been away of town!. 

Glad to hear it worked!  =)

Best Regards!
On Mon, 2004-03-15 at 12:43, Chris Sanchez wrote:

 Hola,
  
 I made 4 changes and it worked. changed 3306 and mysql.sock for both
 client and server, now it works fine. Those two options killed so much
 of my time. I followed the instructions line by line and there was
 never any mention of changing the default my.cnf file.
  
 Gracias,
 Chris
  
  -Original Message-
 From: Victor Medina [mailto:[EMAIL PROTECTED]
 Sent: Saturday, March 13, 2004 10:37 AM
 To: Chris Sanchez; [EMAIL PROTECTED]
 Subject: Re: mysql error grant tables, help
 
 
 
 Hi!
 
 try to look at your my.cnf you haven't config it correctly!
 
 
 At 05:54 p.m. 12/03/2004, Chris Sanchez wrote:
 
  get this when i run scripts/mysql_install_db. also tried
  mysqld --skip-grant
  and got the same thing. how do i fix?
  mysql-standard-4.0.18-sun-solaris2.8-sparc binary on SunOS
  ipdev1 5.8
  Generic_108528-06 sun4u sparc SUNW,Ultra-5_10.
 
 
 8
 
 
 
 
 Saludos, 
 
_ ____ __   ___ 
 ___ _
   | | ___  _ _  ___ | |  _._ _  _ _ __  |  \  \ _ _ / __| .
 || |
  _| |_ || | |_ || |_ | || ' || | |\ \/| || | |\__ \| |
 || |_
  \__/___||__/ ___||___||_||_|_|`___|/\_\|_|_|_|`_.
 |___/`___\|___|
  ___'
   Victor Medina M
   Java - Linux - MySQL
   [EMAIL PROTECTED]
   geek by nature, linux by choice
  
 
 
 
 
 
 
 
 

-- 

 
   _ ____ __   ___  ___  _
  | | ___  _ _  ___ | |  _._ _  _ _ __  |  \  \ _ _ / __| . || |
 _| |_ || | |_ || |_ | || ' || | |\ \/| || | |\__ \| | || |_
 \__/___||__/ ___||___||_||_|_|`___|/\_\|_|_|_|`_. |___/`___\|___|
 ___'
  Victor Medina M
  Java - Linux - MySQL
  [EMAIL PROTECTED]
  geek by nature, linux by choice
 

 Everything is permissible but not everything is beneficial. 
 Everything is permissible, but not everything is constructive. 
   I Corinthians 10:23
 

















Re: Mysql 5.0 Production Release

2004-03-17 Thread Victor Medina
My best guess is somewhere around summer, 2005
On Wed, 2004-03-17 at 09:41, Garg, Piyush (EM, GECIS) wrote:

 Hi Everyone,
 
 Can you please tell what is the expected date for the Production release of Mysql 
 5.0.
 
 Many Thanks and Regards,
 Piyush

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


Re: Newly installed mysql 4.0

2004-03-17 Thread Victor Medina
Your mysql server is not running my friend! =)

Try /etc/init.d/mysqld start -- this should be able to turn it on!
You can not change the passwords with the server off

Best Regards
On Wed, 2004-03-17 at 14:04, [EMAIL PROTECTED] wrote:
 (newbie warning)
 Hi,
 I just removed 3.23  and installed 4 (the first time I have done an installation.) 
 as per the docs I then tried to make a password for root and ran this from SSH 
 root:
 
 # /usr/bin/mysqladmin -u root password 'jman77'
 
 but got this a reply:
 
 /usr/bin/mysqladmin: connect to server at 'localhost' failed
 error: 'Can't connect to local MySQL server through socket 
 '/var/lib/mysql/mysql.sock' (2)'
 Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
 
 Why is that? what should I do?
 
 Please explain in steps coz am just trying to get the hang of this.
 
 Thanks,
 -Ryan
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: mysql error grant tables, help

2004-03-13 Thread Victor Medina
Hi!

try to look at your my.cnf you haven't config it correctly!

At 05:54 p.m. 12/03/2004, Chris Sanchez wrote:
get this when i run scripts/mysql_install_db. also tried mysqld --skip-grant
and got the same thing. how do i fix?
mysql-standard-4.0.18-sun-solaris2.8-sparc binary on SunOS ipdev1 5.8
Generic_108528-06 sun4u sparc SUNW,Ultra-5_10.
8



Saludos,

   _ ____ __   ___  ___ _
  | | ___  _ _  ___ | |  _._ _  _ _ __  |  \  \ _ _ / __| . || |
 _| |_ || | |_ || |_ | || ' || | |\ \/| || | |\__ \| | || |_
 \__/___||__/ ___||___||_||_|_|`___|/\_\|_|_|_|`_. |___/`___\|___|
 ___'
  Victor Medina M
  Java - Linux - MySQL
  [EMAIL PROTECTED]
  geek by nature, linux by choice
 









Re: ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

2004-03-12 Thread Victor Medina
Hi!

You seems to have just installed mysql. The root user should be able to
acces a mysql server from anywhere by default. I don't know why you can
connect from localhost, probably you delete the [EMAIL PROTECTED]? Anyway
it is a good thing to delete the root user after the initial setup, once
you have a full rights user created that can manage the db. To do this,
loginto mysql as root, and create a full-blown user with everything
enable and give it a secure password. like this:

mysql -u root -h 192.168.1.10

Now create a full rights user like this

grant all privileges on *.* to yournewusername_here@% identified by
'passowrdhere' with grant option;

flush privileges;

This will create a new user with a set of rights comparable with the
root's own permissions.

Now, with this superuser created you can delete the root user 

use mysql
delete from user where User='root';
flush privileges;

Now logout, and login again using the new password and the new user!
voilà!

Best Regards!


On Fri, 2004-03-12 at 09:25, Leslie Vance wrote:
 Hello,
 
 I am having a hard time getting Mysql to let [EMAIL PROTECTED] connect.
 
 I am constantly getting this:
 
 ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
 
 when I issue mysql -u root
 
 I can log in if I use mysql -h 192.168.1.10 -u root mysql
 
 I guess I have some sort of host thing mixed up but I have tried all sorts
 of things out of the list with no avail.  I using Redhat 9 and I used the
 rpm's distributed by mysql.
 
 Thanks in advance.
 
 Les
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Newbie - dependencies

2004-03-11 Thread Victor Medina
Hi!

anyway, why dont you use the graphic install utility redhat uses to
install mysql?? it will resolve the dependencies for you =)

PS: i think it's called redhat-config-packages

Best Regards!
On Thu, 2004-03-11 at 09:05, Robert Ross wrote:

  Having just set up a RedHat Enterprise Server V.3 I am trying to add a 
  MySQL database function.  I tried and failed using up2date (following 
  instructions from RH), so downloaded the rpms and began to install by 
  myself.  My input and the output is shown below:
  
  # rpm -i mysql-server-3.23.58-1.i386.rpm
  error:Failed dependencies:
  libmysqlclient.so.10 is needed by mysql-server-3.23.58-1
  Suggested resolutions:
  mysql-3.23.58-1.i386.rpm
  
  # rpm -i mysql-3.23.58-1.i386.rpm
  error:Failed dependencies:
  perl-DBD-MySQL is needed by mysql-3.23.58-1
  Suggested resolutions:
  perl-DBD-MySQL-2.1021-3.i386.rpm
  
  # rpm -i perl-DBD-MySQL-2.1021-3.i386.rpm
  error:Failed dependencies:
  libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3 Suggested 
  resolutions: mysql-3.23.58-1.i386.rpm
  
  Which takes me back to the second line and begins a loop. 
  Libmysqlclient.so.10 is in /usr/lib/mysql/ problably from the initial 
  setup (before I found out that the mysql-server wasn't on the setup 
  CDs).  I went for RHEL on the strength that it has up2date and I would 
  not meet this kind of problem.
  
  Anyone got any ideas/get out of jail cards?
 
 
 rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm mysql-server-3.23.58-1.i386.rpm
 mysql-3.23.58-1.i386.rpm
 
 
 -- Alex
 
 -
 
 Cheers for the reply Alex.  Tried your method and got:
 
 MySQL-server conflicts with mysql-server-3.23.58-1
 mysql conflicts with mysql-3.23.58-1
 
 I tried 'locate' but could not find either file, so then tried 'rpm -e' of
 both.  I got 'not installed' as an answer.  So tried your line once more and
 got the same output.
 
 Robb - still in jail :-(

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















RE: Newbie - dependencies

2004-03-11 Thread Victor Medina
OK, a few things you can try

1.- I usually compile everything my server uses. I recomended you to use
the gui just because i tought rh installer would resolve the
dependencies by itself, big mistake here =) RH seems to prefer
PostgreSQL and considers MySQL a second hand choice =( S, I can help
you out compiling a fresh MySQL server or...

2.- Download a precompiled binaries from the mysql.com site, read the
install instrucctions (quite easy by the way, we can help on that also!)
and use mysql's own binaries

Any choice is good and valid, make a choice and let us know if you have
problems with it =)

Sure we can help! =)

Best Regards!

On Thu, 2004-03-11 at 09:41, Robert Ross wrote:
 Hi Victor,
 
 I tried that initially and thought I had installed everything - RH
 Enterprise has the option in the GUI to install mysql - what it doesn't tell
 you is that it is the client and not the server.  When you (eventually) find
 this out and try to install the server,  problems occur because the server
 should be installed before the client (I think).  So you then uninstall both
 server and client, then  re-install the server.  If sucessful, you still get
 problems when you try to re-install the client as the GUI cannot find the
 server's headers and so will not install client software.  So you go and
 find the rpm and try to install it yourself and get the dependencies
 problem.  I think you get an idea of my frustration, and I have not even got
 to the part of trying to use mysql yet!  Still, I will continue on...:-)
 
 Thanks for your input.
 
 Robb
 
 -Original Message-
 From: Victor Medina [mailto:[EMAIL PROTECTED] 
 Sent: 11 March 2004 13:31
 To: Robert Ross
 Cc: [EMAIL PROTECTED]
 Subject: RE: Newbie - dependencies
 
 
 Hi!
 
 anyway, why dont you use the graphic install utility redhat uses to install
 mysql?? it will resolve the dependencies for you =)
 
 PS: i think it's called redhat-config-packages
 
 Best Regards!
 On Thu, 2004-03-11 at 09:05, Robert Ross wrote:
 
   Having just set up a RedHat Enterprise Server V.3 I am trying to add 
   a
   MySQL database function.  I tried and failed using up2date (following 
   instructions from RH), so downloaded the rpms and began to install by 
   myself.  My input and the output is shown below:
   
   # rpm -i mysql-server-3.23.58-1.i386.rpm
   error:Failed dependencies:
   libmysqlclient.so.10 is needed by mysql-server-3.23.58-1 Suggested 
   resolutions: mysql-3.23.58-1.i386.rpm
   
   # rpm -i mysql-3.23.58-1.i386.rpm
   error:Failed dependencies:
   perl-DBD-MySQL is needed by mysql-3.23.58-1
   Suggested resolutions:
   perl-DBD-MySQL-2.1021-3.i386.rpm
   
   # rpm -i perl-DBD-MySQL-2.1021-3.i386.rpm
   error:Failed dependencies:
   libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3 Suggested
   resolutions: mysql-3.23.58-1.i386.rpm
   
   Which takes me back to the second line and begins a loop.
   Libmysqlclient.so.10 is in /usr/lib/mysql/ problably from the initial 
   setup (before I found out that the mysql-server wasn't on the setup 
   CDs).  I went for RHEL on the strength that it has up2date and I would 
   not meet this kind of problem.
   
   Anyone got any ideas/get out of jail cards?
  
  
  rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm 
  mysql-server-3.23.58-1.i386.rpm
  mysql-3.23.58-1.i386.rpm
  
  
  -- Alex
  
  -
  
  Cheers for the reply Alex.  Tried your method and got:
  
  MySQL-server conflicts with mysql-server-3.23.58-1
  mysql conflicts with mysql-3.23.58-1
  
  I tried 'locate' but could not find either file, so then tried 'rpm 
  -e' of both.  I got 'not installed' as an answer.  So tried your line 
  once more and got the same output.
  
  Robb - still in jail :-(
 
 -- 
 
  |...|
  |  _    _|Victor Medina M   |
  |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
  | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
  | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
  |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
  ||geek by nature - linux by choice  |
  |...|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL

Re: MySQL and NFS

2004-03-10 Thread Victor Medina
HI!

yes you can! as long as the data is no on a nfs volume go ahead! =)

Best Regards!
On Wed, 2004-03-10 at 15:16, Tucker, Gabriel wrote:

 Hi All
 
 I have read through some previous threads on this topic and I was unable to find any 
 to answer my question...
 
 Can I install MySQL on a NFS mount and use its executables on multiple machines 
 simultaneously?  The data will be NOT be on a NFS mount, just the install.
 
 Thanks
 Gabe
 
 *
 
 The jokes on him, I'll be dead by then - HJS
 
 Gabe Tucker
 Bloomberg LP
 P 609 750 6668
 F 646 268 5681
 
 *

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: msSQL - MySQL (exhanging data between the two)

2004-03-05 Thread Victor Medina
I haven't tried, but it seems quite difficult, for one thing, both sql
engines are very differents. So the short answer would be a plain no.
Now trying something exotic would be making a odbc bridge between the
two dbs and then use some scripted solution it would be possible,
something like java or c# or even vb(.net), even perl or php could be
used, but again it is something that you should find out for your self.

When deciding about what programming language one key comoponent should
be that the language has native access to both server (php? perl?) so
type coneversion would be easy to manage.

But again it's just a thought...

My two cents! =) maybe someone else here could have better ideas-options

Best Regards

On Thu, 2004-03-04 at 16:26, Daniel Ek wrote:

 Once more - Dear list,
 
 I am doing some research on a CRM-tool which my company bought that uses 
 msSQL.
 
 The setup looks something like this
 
 User -- CRM -- MsSQL  }
 User -- Webform -- MySQL   }  The same data entered
 
 What would be optimal is if would be possible, that when a user requests 
 data through the CRM that it actually uses MySQL connections. 
 Unfortunately I speaked to the software vendor about it and they said 
 that it was not an option at the moment.
 
 My question then is if  MySQL could replicate data with MsSQL as master 
 as following setup:
 
 User - CRM - MsSQL ()-- MySQL -- Apps that relies on MySQL data
 
 I would be thankful to any comments and/or suggestions I can get
 
 Regards
 
 Daniel Ek

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Drop and Add Functions in Mysql 4

2004-03-05 Thread Victor Medina
You could try MySQL 5(it is in alpha state), which comes with stored
procedures, mixing stored procedures and prepered statements could be a
possibility. 

About Sybex's book, haven't read it, but Paul's book (Oreilly's) is very
nice. IMHO

Best Regards

On Thu, 2004-03-04 at 23:23, [EMAIL PROTECTED] wrote:

 Hi there, i happened to be peering into the Sybex book on Mysql4 , it was
 pretty expensive about 100 AUD is it a good one ? Anyway i had reference to
 be able to compile c code into Mysql to add functions into it. Is there
 anyway posible to avodi doing this and add it using queries ? Let me know
 thanks.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: 4.0.18 or 4.1.1-alpha?

2004-03-05 Thread Victor Medina
If it's going to be a full production environment where stability is
crucial, use 4.0.18.

If it is going to be  for a development proyect, you can use 4.1.1 and
enjoy the new features.

Anyway, 4.1.1 seems to be quite stable if you ask me. But it might
depend on how much are you willing to risk

Best Regards!

On Fri, 2004-03-05 at 12:24, Samuele wrote:

 I have to install MySQL in our web servers. I don't know if choosing 4.0.18 stable 
 version or
 4.1.1-alpha.
 I'd prefer the first one, but in this case I'd lose some important features.
 What do you suggest me?
 Thank's
 Samuele
 ca2000 padova (italy)

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: 4.0.18 or 4.1.1-alpha?

2004-03-05 Thread Victor Medina
If you use the old-password settings in your server, ems should
connect with out a hitch

Best Regards!
On Fri, 2004-03-05 at 13:41, Eric wrote:

 Hi,
 
 If you use any 3rd party clients like EMS mysql manager. Check that they have 
 updated their binaries to support changes in 4.1, if they have not, you won't be 
 able to connect to 4.1. 
 
 That was a big pain for me. I wanted to start using 4.1 on a backup server part 
 time. But we use EMS a great deal.  
 
 thanks,
 
 Eric 
 
 At 09:31 AM 3/5/2004, Victor Medina wrote:
 If it's going to be a full production environment where stability is
 crucial, use 4.0.18.
 
 If it is going to be  for a development proyect, you can use 4.1.1 and
 enjoy the new features.
 
 Anyway, 4.1.1 seems to be quite stable if you ask me. But it might
 depend on how much are you willing to risk
 
 Best Regards!
 
 On Fri, 2004-03-05 at 12:24, Samuele wrote:
 
  I have to install MySQL in our web servers. I don't know if choosing 4.0.18 
  stable version or
  4.1.1-alpha.
  I'd prefer the first one, but in this case I'd lose some important features.
  What do you suggest me?
  Thank's
  Samuele
  ca2000 padova (italy)
 
 -- 
 
  |...|
  |  _    _|Victor Medina M   |
  |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
  | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
  | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
  |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
  ||geek by nature - linux by choice  |
  |...|

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: query

2004-03-04 Thread Victor Medina
would you mind being morew specific?
On Wed, 2004-03-03 at 23:20, Elly Wisata wrote:

 Hi *,
 
 How to query records that most of the fields are the same value? Izit
 possible?
 
 Thanks in advance
 
  
 
 ~Elle~

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Sintax - Where xx not in (another Select structure)

2004-03-04 Thread Victor Medina
YEAP! ver. 4.1.x supports subselects. One thing i should say is that it
is still in beta, but it seems to be quite stable! =)

Best Regards!
On Thu, 2004-03-04 at 10:07, Gabriel Alessandria wrote:

 There exists the possibility of doing a SELECT where the list of IN() clause
 is the result of another select ?
 
 Like this for example
 
 
 Select Number from Phone where Number not in
 (
 SELECT Number from Vendor, Clients
 where Vendor.Number=Clients.Number
 )
 
 
 Thank in advance

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















RE: Scripting

2004-03-04 Thread Victor Medina
 **;
 ---
 
 If you want to take a backup manually with this script (and omit the email
 being sent to you), you can do this from the mysql prompt via:
 mysql \. /home/rhino/MySQL/backup2.bash  /home/rhino/MySQL/backup2.out
 21
 
 I think the biggest obstacle you're going to face in writing bash scripts is
 the lack of good tutorials on it. There are umpteen bash references that
 show you generic syntax and tell you the terminology used by bash but darned
 few decent tutorials to show you how to write bash scripts. Some people can
 do anything they want with only a reference but I'm one of those people who
 need examples to really understand something so I've had real challenges
 learning bash since the references are extremely skimpy on concrete
 examples.
 
 Good luck!
 
 Rhino
 
 - Original Message - 
 From: HACKATHORN, TODD (SWBT) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, March 04, 2004 8:57 AM
 Subject: Scripting
 
 
  Hello,
  I am new to Linux, and mySQL.  I am currently a MsSQL Server 2000 and VB
  programmer, but trying to break away from that side.  I have my database
 set
  up and working great, but I am really struggling on how to perform
 scheduled
  updates, and data imports.  Can anyone please point me to a good resource
 to
  learn how to build a script, that can import data from an ODBC connection,
  and then maybe run multiple queries in the data one at a time.  I don't
 know
  what language I want to use because I don't know enough about it.  Once I
  find a way to do what I need, I will learn that language.  I think there
  might be a way to use php as cron'd scripts, but I don't know.  Also I
  looked at perl, or just bash in linux.  I am used to being able to do
  anything I needed to with DTS packages and stored procedures.  I had ask a
  similar question a while back, and still can't get going with this.  So
 far
  the graphical packages for updates are the only thing I miss from SQL
  Server.
 
  Thanks in advance for any help.
 
  Todd Hackathorn
 
 

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Problems Installing

2004-03-03 Thread Victor Medina
Hi Marie!

OK, first of all, you could download a rpm package and have redhat rpm
system manage all the installation details for you, this one has a basic
advantage, using rpm system that comes with redhat you'll be eable to
centrally manage all your packages automatically, wich is very nice
thing to  have when being new. s

Most Modern Linux distro do not use /usr/local at all, most of modern
Linux distros today are based on a new, better suited for today,
standard called LSB. Basically LSB says that all userland programs
should be placed under /usr, that is /usr/bin for normal userland
programs, commands and utilities. /usr/lib for libraries. /usr/include
for development files(such as .h files). /usr/libexec is used for many
misc things, this is where mysql server will store the mysql server
binary file (mysqld) since it doen't belong to userland cause it is a
server, a background service. /usr/local is considered deprecated, old
and is only there to keep compatibility with older stuff.

If you download and install a rpm package, the system will copy and
place your files automatically for you in the places where they should
be.

So

if you have downloaded a rpm package (my recomendation) you can easilly
install it by issuing the following command:

rpm -i mysqlpackage-that-youdownloaded.rpm

One thing to note is that mysql has several packages, usually one has
the server binaries, that is, a package wich ONLY contains the server,
other is the client wich are needed to connect and manage the db. The
last package is de devel wich are ONLY needed if you intend to develop
software against the db server(for example develop a c app), otherwise
it is not needed.

Command line or gui? It's up to you. I personally like the mysql command
line client, i find it quite competent tool and having it to manage my
server in every platform is a plus. But if you want a nice GUI you can
equally try with any of the free tools available:

sqlyog: www.sqlyog.com
dbtools: www.dbtools.com.br
mysqlcc: www.mysql.com

Those 3 are only a short example, i am pretty sure that if you ask for a
nice gui tool in the list you will get some others choices.

After installing the db you will need to configure it, but that's for
another mail, if you have problem with it just let us know =)

Best regards!

On Tue, 2004-03-02 at 20:24, Marie Salas wrote:

 Hello,
 
 I'm very new to this Linux OS, and just downloaded MYSQL and I'm having a problem. 
 
 I downloaded your Mysql version Linux (x86, libc6) and once downloaded I was 
 unpacking the files from File-Roller that was part of the Linux Redhat 
 installation. When I went to extract the files and save in usr/local/ it gave me a 
 message saying I don't have permission. I am a super user of this computer. I don't 
 understand what the problem is. Also I'm confused about whether I should use the 
 terminal or if I can do this with GUI??? The titorials I've read show the commands 
 on how to install everything through the terminal.
 
 If you can offer any suggestion, I'd appreciate.
 
 Thanks,
 
 M.
 
 
 
 
 
 Marie Salas
 
 
 -
 Do you Yahoo!?
 Yahoo! Search - Find what youre looking for faster.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: read only table 'user' at install

2004-03-03 Thread Victor Medina
A few things to try:

1.- did you create the data dir as root?
chown mysql.mysql -R /var/dir-where-you-install
2.- who owns the mysql data dir and it's parent dirs?
ls -lka /var/dir-where-you-installed
3.- try using mysql client

Best Regards
On Tue, 2004-03-02 at 21:55, Jonathan Villa wrote:

 Ok, I have installed MySQL many times and have never come across this...
 
 when try to run
 
 ./bin/mysqladmin -u root password 'new-password'
 
 I get the following 
 
 ./bin/mysqladmin: unable to change password; error: 'Table 'user' is
 read only'
 
 I've never had this happen, and unfortunately do not know enough about
 read/write perms on tables to try to debug it. 
 
 I promise that I'll study up on it, but right now I'm kinda of in
 rush...
 
 I'm using : mysql-standard-4.0.18-pc-linux-i686.tar.gz
 
 thanks!
 

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: mysql vs. MySQL

2004-03-03 Thread Victor Medina
The real name of the rpm package should be inside the .spec file
contained within the rpm file.

Best Regards!

On Tue, 2004-03-02 at 17:53, David Quenzler wrote:

 
 
 My machines have several mysql RPMs installed as part of a SuSE UL 1.0 base
 configuration.
 
 RPMs are all lower-case of the form 'mysql, mysql-client, mysql-devel,
 mysql-shared', etc.
 
 Upgrade RPMs are available as MySQL, mixed case, no longer all lower-case.
 
 Is this a cosmetic issue only, am I able to rename lower-case and rpm -F
 without a problem?
 
 - Dave

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Who can help the Newbie???

2004-03-03 Thread Victor Medina
Hi!

First of all, in order for us to help you, we will need more concise
descriptions of your problems installing mysql, i guess for what you are
saying that you are installing on windows, so we will need at least to
know, in what you are stuck, version of the OS you are using, what is
going wrong, the command or actions you took or executed and the output
so we can help you.

Regarding the things of having to access mysql ONLY trough a DOS
windows, that is not at all right, sure you can do whatever you want
with mysql using only the console, but you can also use a nice gui, a
few examples:
1.- dbtools: www.dbtools.com.br
2.- sqlyog: www.sqlyog.com

Best Regards
On Tue, 2004-03-02 at 15:26, Randal wrote:

 I am very new to this database thing.  I dont want to clog up the board
 with all the basic questions that I need answered.  I have been cataloging
 contact info and other things in MS Excel for years.  I am familiar with the
 base concepts of a database; I think, but I have no idea what goes on in a
 DOS window.  It took me a few days to figure out that I was going to have to
 use it to access the software.  (I said I was new to this)  I was hoping
 that the vast network of knowledge could point me in the direction of a
 source of what it is that I need to know about DOS to get moving on this
 darn 21 day tutorial I am stuck on day two of.
 
 Thanks in advance,
 
 Rand

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: import ing files into mysql

2004-03-03 Thread Victor Medina
do you mean inserting the whole .zip file in a table?
if the above is right, short answer is: YES


On Wed, 2004-03-03 at 13:32, Manda Sairam wrote:

 I would like to import zip file into mysql database. Is this possible?
 regards
 sairam 
 
 
 -
 Do you Yahoo!?
 Yahoo! Search - Find what youre looking for faster.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Install Mysql

2004-03-03 Thread Victor Medina
That's not the way of removing the service! Change it to the older file.

Then run:

nameofold-mysql.exe  --remove

To reinstall the service:

nameofthenew-mysql.exe  --install 
On Wed, 2004-03-03 at 13:31, Teddy Ruxpin wrote:

 (sorry my english)
 I had in my computer EasyPHP. Always worked.
 I tried update EasyPHP and mysql stopped work.
 I saw the Mysql service was pointing a file that doesn't 
 exist.
 On regedit I made point to correct file mysqld.exe.
 But to the try execute the service, show a error message.
 Even executing the mysqld on dos, don't work.
 
 help me! 
 
  
 ---
 Acabe com aquelas janelinhas que pulam na sua tela.
 AntiPop-up UOL - É grátis! 
 http://antipopup.uol.com.br

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: import ing files into mysql

2004-03-03 Thread Victor Medina
Ok! =) YES was the short answer!

The long answer is: it will deeply in the choice of language you choose
(php, java, perl) and the choice of access you use to communicate with
the server (web, client-server, web service)


On Wed, 2004-03-03 at 13:32, Manda Sairam wrote:

 I would like to import zip file into mysql database. Is this possible?
 regards
 sairam 
 
 
 -
 Do you Yahoo!?
 Yahoo! Search - Find what youre looking for faster.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Remove a RPM Installation

2004-03-02 Thread Victor Medina
Hello!

rpm -e MySQL-server-4.1.1-1

Best Regards!
On Tue, 2004-03-02 at 10:08, Rafael Diaz Valdes wrote:

 Please how can I remove a RPM installation. I used MySQL-server-4.1.1-1.i386.rpm to 
 install MySQL, but how can I delete it.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Remove a RPM Installation

2004-03-02 Thread Victor Medina
Please, do not post more than one time the same question
On Tue, 2004-03-02 at 10:08, Rafael Diaz Valdes wrote:

 Please how can I remove a RPM installation. I used MySQL-server-4.1.1-1.i386.rpm to 
 install MySQL, but how can I delete it.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Remove a RPM Installation

2004-03-02 Thread Victor Medina
POST only once to the list
On Tue, 2004-03-02 at 10:09, Rafael Diaz Valdes wrote:

 Please how can I remove a RPM installation. I used MySQL-server-4.1.1-1.i386.rpm to 
 install MySQL, but how can I delete it.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: BUG?

2004-03-01 Thread Victor Medina
More of the same:

mysql select 260.22 + 18.81 -
279.03;
+-+
| 260.22 + 18.81 - 279.03 |
+-+
|0.06 |
+-+
1 row in set (0.11 sec)
 
mysql select 279.03 - 279.03;
+-+
| 279.03 - 279.03 |
+-+
|0.00 |
+-+
1 row in set (0.00 sec)
 
mysql select 279.03 - (260.22 +
18.81);
+---+
| 279.03 - (260.22 + 18.81) |
+---+
| -0.05 |
+---+
1 row in set (0.00 sec)
 
mysql select 279.03 - 260.22 -
18.81;
+-+
| 279.03 - 260.22 - 18.81 |
+-+
|   -0.05 |
+-+
1 row in set (0.00 sec)
 
mysql select 279.03 - 260.22;
+-+
| 279.03 - 260.22 |
+-+
|   18.809995 |
+-+
1 row in set (0.00 sec)




On Mon, 2004-03-01 at 13:50, Fagyal, Csongor wrote:
 [EMAIL PROTECTED] wrote:
 
 Arithmetic results in a value of zero but mysql is
 treating the value as  0. This is reproducible in a
 lot of different ways. Below is a pretty clear
 example.
 
 mysql select version();
 +---+
 | version() |
 +---+
 | 4.0.17-max-nt |
 +---+
 1 row in set (0.00 sec)
 
 mysql create table t (a decimal(12,2) not null, b
 decimal(12,2) not null, c decimal(12,2) not null);
 Query OK, 0 rows affected (0.72 sec)
 
 mysql insert into t values (260.22,18.81,279.03);
 Query OK, 1 row affected (0.00 sec)
 
 mysql select a+b-c from t where a+b-c = 0;
 Empty set (0.00 sec)
 
 mysql select a+b-c as y from t having y = 0;
 Empty set (0.00 sec)
 
 mysql select a+b-c as y from t having y  0;
 +--+
 | y|
 +--+
 | 0.00 |
 +--+
 1 row in set (0.00 sec)
 
 mysql select a+b-c from t where a+b-c  0;
 +---+
 | a+b-c |
 +---+
 |  0.00 |
 +---+
 1 row in set (0.00 sec)
 
 Anybody?
 
 Isn't this an internal representation error - probably decimal handled 
 as float?
 
 mysql select 260.22 + 18.81 - 279.03;
 +-+
 | 260.22 + 18.81 - 279.03 |
 +-+
 | 0.06 |
 +-+
 1 row in set (0.01 sec)
 
 
 - Cs.
 
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Problems with mysql

2004-02-29 Thread Victor Medina
Two things first, first of all you obviously don't have mysql correctly
installed, message a means mysql dead unexpectedly while trying to
start, mysql cannot start. Why? I just don't know you didn't detailed  
your install procedure. Message b means that you cannot connect to the
db because message a. No server is listening on default port or in the
default socket. Now... what to do?
1.- Download a more recently mysql version, latest is .18
2.- Check your install procedure and find out the correct procedure at:
http://www.mysql.com/doc/en/Quick_Standard_Installation.html, installing
mysql is more that simply running the installer (HINT: don't use the
installer, use the zip, it is easier to manage)
3.- Would you mind detailing your install procedure, in a step-by-step
fashion so we can better help you?

Best Regards!
On Sun, 2004-02-29 at 10:33, [EMAIL PROTECTED] wrote:
 Hi,
 
 I am currently experiencing a few problems getting mysql to run on my PC. I 
 have a windows XP machine P4 2.6 GHZ. I have downloaded the version mysql 
 4.0.15 from mysql.com and am struggling to get the program to work. I have follwed 
 the instructions listed in a book i purchased called mysql made easy by Mike 
 McGrath.
 
 I currently recieve two error messages when trying to a) start the sql server 
 and b) open the sql monitor.
 
 The error messages are as follows:
 a) Error 1067: The process terminated unexpectedly
 b) Error 2003: Can't connect to mysql server on 'localhost' 100617
 
 Any help you could offer me would be really appreciated
 
 Kind regards
 
 Farryl


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Embeded MySQL for Java ???

2004-02-29 Thread Victor Medina
Hi!!

No there isn't 

Although, you can try bdb(www.sleepycat.com), it comes with a java
access class that will let you use bdb in a embeded environment, one
thing i must say, is that it does not use jdbc, instead it uses it's own
access methods, quite easy btw.

GUYS!, it would be really nice to have an embeded access level trough
java, think about it! ok? =)

Best Regards

___
Victor Medina
linux - java - mysql
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Sun, 2004-02-29 at 21:27, Luis Duran wrote:
 Can anyboby tell me wheter exists an embeded MySQL server JDBC
 implementation ???
 
 Thanks


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: urgent help required for mysql

2004-02-26 Thread Victor Medina
Hi!

It seems that you have installed mysql, but you did not run the
mysql_install_db, this script will create mysql internal databases(the
ones that carries user and config info), the script is usually in
install_prefix/bin/mysql_install_db

If you have no recently installed mysql, and the server has sometime
working already before this message, there is some serius problem here.
But i sencerely doubt it, innodb is recreating the tables and indices,
this looks like a fresh install to me =)

Best Regards!
 
On Wed, 2004-02-25 at 19:48, Soni, Sanjay K wrote:

 040225 13:57:20  mysqld started
 InnoDB: The first specified data file ./ibdata1 did not exist:
 InnoDB: a new database to be created!
 040225 13:57:21  InnoDB: Setting file ./ibdata1 size to 10 MB
 InnoDB: Database physically writes the file full: wait...
 040225 13:57:22  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
 InnoDB: Setting log file ./ib_logfile0 size to 5 MB
 InnoDB: Database physically writes the file full: wait...
 040225 13:57:22  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
 InnoDB: Setting log file ./ib_logfile1 size to 5 MB
 InnoDB: Database physically writes the file full: wait...
 InnoDB: Doublewrite buffer not found: creating new
 InnoDB: Doublewrite buffer created
 InnoDB: Creating foreign key constraint system tables
 InnoDB: Foreign key constraint system tables created
 040225 13:57:25  InnoDB: Started
 040225 13:57:25  Fatal error: Can't open privilege tables: Table 'mysql.host' 
 doesn't exist
 040225 13:57:25  Aborting
  
 040225 13:57:25  InnoDB: Starting shutdown...
 040225 13:57:27  InnoDB: Shutdown completed

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Installation problem!!!

2004-02-26 Thread Victor Medina
Hi!

try using the one installed in /usr/local/mysql/bin/mysql_install_db

Best Regards!

On Wed, 2004-02-25 at 18:45, Kirti S. Bajwa wrote:

 Hello List:
 
 I have installed MySQL Master Server from Binaries 4-5 times without
 problem. Now I am installing MySQL CLIENT from source and have run into
 problem, as explained below:
   Download mysql-5.0.0-alpha.tar.gz in  /usr/local 
   % cd  /usr/local
   % gunzip  mysql-5.0.0-alpha.tar.gz  | tar -xvf -   
   % cd mysql-5.0.0-alpha
   % ./configure   --without-server   --prefix=/usr/local/mysql
   % make
   % make install
   % scripts/mysql_install_db
 
 When I run the last line scripts/mysql_install_db, I get an error message
 No such file or directory.  I have looked into scripts folder and ther
 is mysql_install_db.sh.
 
 Has anybody else experienced the same problem? What is causing this error?
 
 Thanks in advance.
 
 Kirti

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: Installation Confusion in Linux

2004-02-18 Thread Victor Medina
On Tue, 2004-02-17 at 17:08, Ross O wrote:
 [EMAIL PROTECTED] root]# rpm -qvl MySQL-server-4.0.18-0
 -rwxr-xr-x1 rootroot 5575 Feb 12
 09:02 /etc/init.d/mysql
 -rw-r--r--1 rootroot  657 Feb 12
 09:02 /etc/logrotate.d/mysql
 -rwxr-xr-x1 rootroot   900144 Feb 12
Hi!

As you can see, there is only server related  stuff installed, there
is not client and administration stuff installed. 

On Tue, 2004-02-17 at 18:04, Ross O wrote: 
 So I need to install the client as well as the server?
  I thought I read on the MySQL site that I only need
 the server for a single user, single computer
 database?
 
Most probably yes, however i must mention one thing, you can perfectly
install the server (and only) the server in a linux machine, that would
be the server machine, and administer it remotly, that can be a
perfectly normal situation. The server packages contains only the
service files, the binaries needed for a working mysql-server, on the
other side, the client-file contains administration utilities and client
files (a command line utilities called mysql - like oracle's plsql,
for example; and the mysqladmin wich you can use to administer the
server)

So, it's up to you friend, you can have a linux-mysql server with only
server related stuff installed and access it and manage it remotly
(from yout windows desktop, as an example) using any gui tool you want;
or, you can install the client files also, and manage your server via
the command line and locally in your server. Any of the two are
perfectly fine options, most people here will tell you (i guess) that we
use both options, i mean; a remote, nice, gui utility and the command
line tool :)

As an extra, may i recommend some tools?
1.- mysql administrator is a brand new tool to administer and monitor a
mysql server, it runs just fine in win and lin, it's free, and directly
supported by mysql. You can download it from mysql site
2.- dbtools is a mysql administration and design tool by a few very nice
brazilian guys it works only on windows, and also support PostgreSQL.
You can download the basic-free version from the www.dbtools.com.br
site. 
3.- the mysql command line tools is indeed very nice, despite being a
command line tool, is my favorite tool and is VERY good excuse to really
learn about sql and mysql command syntax, very nice also to prepapre for
the certification :)

Hope this helps!

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



MySQL Administrator

2004-02-12 Thread Victor Medina
Hello guys!

Just wanted to tell you, how pleased i am to see that you just released
a alpha version of the mysql administrator! =) I am currently
downloading the linux version!

Just wanted to say thanxs, personally, for such nice products!

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















Re: MySQL viewer

2004-02-04 Thread Victor Medina
They are mostly windows-only tools! 

CowBoyNeal uses only mysql console client! jejeje :-) (just a joke!)

PHPMyAdmin is a web based tool, very nice
SQLyog is a basic, very nice tool also (www.sqlyog.com)
DBTools is very very nice, and also support PostgreSQL
(www.dbtools.com.br)
MySQL-Front is very nice, but 3 seems to be abandoned :(
(www.mysql-front-de)

I don't really like mysqlcc, seems too fragile to me and basic (sorry
folks!) but it seems that mysql guys are working on a new one, that
seems very nice, altough they don't have a date of release, it seems
that they'll support linux also, let see let see...

If you aske me, i would really advice to use the mysql client, vi
editor(to edit my.cnf) and the manual, is the best way to really
understand and learn mysql, besides helping you become a real guru! jeje
(anyway it is'n as difficult as it may seems!)

Best Regards
PS: would somebody write a real nice and feature complete gtk+ based or
java-based admin tool (i know this is to much to ask for, but if it
supports postgre also would be very nice. sacrilege) ? :-)
On Tue, 2004-02-03 at 17:50, Alex croes wrote:

 I'm currently using MyCC as a tool to view and maintain a 
 MySQL-database of mine.
 I find it quit a good tool, but which tool are you guys using. I have 
 heard about MySQLfront
 and Navicat. Are this also good tools to maintain the database. What are 
 the pro's and the con's of this viewers?
 
 Alex

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325 - Tél: +58-241-8507325   |
 ||geek by nature - linux by choice  |
 |...|






















MySQL Administrator

2004-01-22 Thread Victor Medina
Hello guys!

I was wondering, do you have any aproximate date for the release of the
mysql administrator? Also, i read that there is a linux version, but i
only got to see windows screenshoots, does anybody have a linux
screenshoot available?

Best regards!
-- 
Victor Medina [EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Redhat Alternatives for MySQL

2004-01-21 Thread Victor Medina
Hello!

If you live in europe or in the states you can get SuSE 9, for 79$ the
box, i recently spent cristhmas in the states and see SuSE boxes every
where i went i even saw suse boxes in wallmart :s

SuSE is quite a nice choice IMHO. 

On Wed, 2004-01-21 at 14:49, Ferguson, Michael wrote:
 Openna.com
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 21, 2004 11:55 AM
 To: [EMAIL PROTECTED]
 Subject: Redhat Alternatives for MySQL
 
 
 Hello,
  
 For some time we've been running MySQL (from 4.0.1 to 4.0.17)  on Redhat
 (v. 7.2  9.0). We use our linux server for one thing: MySQL server.
  
 We are far from linux experts, so Redhat made sense, particularly the
 ease of installation and the bugfixes via up2date. Now that Redhat is
 ending support, we need an alternative that doesn't cost $349+ per year.
 We never need formal tech support; we only need access to reliable
 security bugfixes/updates.
  
 Fedora seems out of the question because of the frequent upgrade cycles.
  
 Can anyone recommend a linux vendor that 1) offers an easy bugfix/update
 system and 2) is affordable for a small business with limited linux
 expertise. We want a reliable solution for our MySQL server(s) as we
 grow.
  
 I realize this request may be a little off-topic, but since the health,
 security and future of our database server is in question, we felt we
 needed input from other MySQL users.
  
 Thanks!
 
 
 
 -
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Mysql Installation on Linux: ERROR 2002: Can't connect to local MySQL server th

2004-01-18 Thread Victor Medina
Probably your server is not using any sockets, check out your my.cnf. 

man mysql 
to see how to connect to a ip based mysql host. C/ya!


On Sat, 2004-01-17 at 18:51, Mike Mapsnac wrote:

 I just install MYSQL on Linux (Red Hat 9)
 using this manual:http://www.mysql.com/doc/en/Installing_binary.html
 Have no idea what's wrong. I looked on the mysql.log file and the file is 
 empty.
 
 ERROR MESSAGE:
 [EMAIL PROTECTED] bin]# ./mysql
 ERROR 2002: Can't connect to local MySQL server through socket 
 '/tmp/mysql.sock' (2)
 [EMAIL PROTECTED] bin]# ./mysql status
 ERROR 2002: Can't connect to local MySQL server through socket 
 '/tmp/mysql.sock'
 
 _
 Scope out the new MSN Plus Internet Software  optimizes dial-up to the max! 
http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|

...
Programming today is a race between software engineers striving 
to build bigger and better idiot-proof programs, and the Universe 
trying to produce bigger and better idiots. 
So far, the Universe is winning.

Rich Cook


Re: server/client problem with 5.0.0-alpha

2004-01-18 Thread Victor Medina
The mysql auth protocol changed. You will need to use the old-password
option in your [mysqd] secction of your my.cnf

Best regards!
On Sat, 2004-01-17 at 21:33, [EMAIL PROTECTED] wrote:

 Description:
   when compiled and started, mysqld_safe and mysql work fine
   from console, but hen used with apache and php, i get the
   error Client does not support authentication protocol requested by server; 
 consider upgrading MySQL client
 How-To-Repeat
   just compile it as i did, when is my problem?
 Fix:
   no idea yet
 
 Submitter-Id:submitter ID
 Originator:  JanK
 Organization:
  
 MySQL support: [none | licence | email support | extended email support ]
 Synopsis:
 Severity:critical
 Priority:
 Category:mysql
 Class:   support
 Release: mysql-5.0.0-alpha (Source distribution)
 
 C compiler:gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
 C++ compiler:  g++ (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
 Environment:
   
 System: Linux kernel.ulmasow.de 2.4.21-rc6 #1 Mon Dez 22 14:34:54 UTC 2003 i686 
 unknown unknown GNU/Linux
 Architecture: i686
 
 Some paths:  /usr//bin/perl /usr//bin/make /usr//bin/gmake /usr//bin/gcc /usr//bin/cc
 GCC: Reading specs from /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs
 Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib 
 --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared 
 --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit 
 --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu 
 --with-system-zlib
 Thread model: posix
 gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
 Compilation info: CC='gcc'  CFLAGS=''  CXX='g++'  CXXFLAGS=''  LDFLAGS=''  ASFLAGS=''
 LIBC: 
 lrwxr-xr-x1 root root   13 Feb  1  2003 /lib/libc.so.6 - 
 libc-2.2.5.so
 -rwxr-xr-x1 root root  1147848 Aug 19  2002 /lib/libc-2.2.5.so
 -rw-r--r--1 root root  2163302 Aug 19  2002 /usr/lib/libc.a
 -rw-r--r--1 root root  178 Aug 19  2002 /usr/lib/libc.so
 Configure command: ./configure '--prefix=/usr/local' '--with-mysqld-user=jank' 
 '--with-openssl' '--with-pthread' '--with-charset=latin1' 
 '--with-extra-charsets=all' '--with-php' '--with-mysqlfs' '--with-vio' '--with-ssl'

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|

...
Programming today is a race between software engineers striving 
to build bigger and better idiot-proof programs, and the Universe 
trying to produce bigger and better idiots. 
So far, the Universe is winning.

Rich Cook


Re: MySQL Performance Tuning?

2004-01-15 Thread Victor Medina
Hi!

We are a hardware store(similiar to usa's home depot) here in venezuela.
We have 14 stores that moves a very heavy load of traffic.

Many of our retails runs in a home brew POS that uses mysql. Then sales
are uploaded to a bigger in-store server and then move to the central
office. The prices, promotions and offers are constantly replicated to
the stores, so imagine it has a lot of traffic. 

For performance, the single most important factor seems to be a fast io
hardware and a good properly configured os, instead of more ram and
processor.

We currently compile all our software, and run our db in linux boxes(you
didn't specify a os)
We compile our db using 
-O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer
-fno-rtti -fno-exceptions -felide-constructors

Our servers are compiled static, it seems to be a little faster than a
shared server, but your millage may actually vary.

Our kernels are also compiled in a similar fashion. We specially add
similar cflags and cxxflags to the above, modifing the Makefile in the
kernel tree. Also a pair of tricks are also used inside the kernel, we
rise the SEMNI value from 128 to 512 and the LOG_BUF_LEN from 16384 to
65536 in each server. 

We also tweak a few runtime kernel variables, chages in the sysctl.conf:
added:
# Improve file system performance
vm.bdflush = 100 1200 128 512 500 6000 500 0 0
# Improve virtual memory performance
vm.buffermem = 80 10 60
# Improve and better control swapping into the system
vm.freepages = 383 766 1149
# Increase swap bandwidth system performance
vm.kswapd = 1024 32 16
# Increase number of pages kernel reads in at once
vm.page-cluster = 16
# Improve files memory mapping and generic caching
vm.pagecache = 8 25 85
# Improve number of page tables keeps in a per-processor cache
vm.pagetable_cache = 35 60
# Improve the number of open files
fs.file-max = 16384

We also compile and use our own ssl binaries, we do not use the distros
version. 

One thing to note is the fact that poor code will produce poor
performance so check your code and your sql. We do not run mysql and
apache on the same server, you shoudn't do that neither. 

What is your set up? OS? Are you using any speed-up technology like zend
optimizer with your server? PHP can be a big resource eater, so find out
where is the bottle neck, if it is mysql, calculate well your load and
create a propper configuration in your my.cnf, add a good balance of
harware and a few of the tweaks mentioned above. May i recommend Gehard
Mourani's book on Securing and Optimizing RH Linux? it is available at
tldp.org, for free under guides, it's intended for RH only, but it
also works on suse and debian(and any other) if you know the way around
your distro.  

Hope this works, regards

On Thu, 2004-01-15 at 13:23, mysql wrote:

 Hi Gurus,
   I'm currently building an application which is expected
 to take very high loads. What the app does is essence is
 to 'log' and incoming entry into MySQL, do something then updates
 the 'log' entry.
 
   To test MySQL in handling high load, I used siege
 on another server to send 1000 HTTP GET requests to my php
 script which then does as described above. The results that I'm
 getting is not encouraging as it seems that MySQL is not able
 to capture the 1000 entries.
 
   I've tried doing some of the tuning from the net but so
 far to no avail. Does anyone know what is the critical tuning method
 needed for MySQL to be able to handle loads like this?
 
   Thank you very much!

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|

...
Programming today is a race between software engineers striving 
to build bigger and better idiot-proof programs, and the Universe 
trying to produce bigger and better idiots. 
So far, the Universe is winning.

Rich Cook


Re: Mysql by itself? [err: 10061]

2004-01-09 Thread Victor Medina
I think the point is, that when you installed it, there was a
dependency was it mysql? or was it apache? I am thinking it was
apache, maybe the auth_mysql was compiled with it, so it needed the
mysql to run porperly. 

Apche has a module that allows it to authenticate users against a db
server like mysql, your apache server might have this module.. so that's
why it probably needs it. This is my only explanation of why it needs it
=S

MySQL is a complete, independent, standalone db server, same goes to
apache server, they can work together, but they are completely
independent pieces of software

Best Regards
On Fri, 2004-01-09 at 02:42, EP wrote:

 EP wrote:
 
 
 OK, I need to ask a stupid question.
 
 Obviously, MySQL can run on its own, not quite sure what you really mean 
 by this though.
 
 
 Amazing that it wasn't obvious to me, but I originally installed MySQL 
 after installing Apache, based on home brew instructions that implied a 
 dependency; then I always had Apache running when I used MySQL and was 
 convinced of the flatness of the earth.
 
 My problem on my 2nd machine  _was_ :
 
  Error 2003:  Can't connect to MySQL server on 'localhost' (10061)
 
 Long story short, now realizing the MYSQL error message had nothing to do 
 with my Apache error messages, I looked and found the MySQL config. error 
 -- fixed it, setting the port to 3306 in the ini file.
 
 It's up!
 
 Thanks! 

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: Converting an Access Table to MySQL

2004-01-09 Thread Victor Medina
On Fri, 2004-01-09 at 11:44, zzapper wrote:

 On Fri, 9 Jan 2004 20:40:44 +0530, Nitin Mehta
 [EMAIL PROTECTED] wrote:
 
 you need not write any scripts, just use MySQL Front to Import/Export dat from M$ 
 Access
 
 Are you using MySqlfront2.5 (the original) or the new 3.x?
 
 BTW I already use/love 2.5.

hey hey hey! wait a second there! is there a new mysqlfront? :o where
can i download it? :) 3.0??? I already love and worship mysqlfront 2.5,
i thought it was dead :(
do you have a link?

Thanxs in advance!


-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: Converting an Access Table to MySQL

2004-01-09 Thread Victor Medina
thanxss! :)
On Fri, 2004-01-09 at 12:04, zzapper wrote:

 On Fri, 09 Jan 2004 11:48:42 -0400, Victor Medina [EMAIL PROTECTED]
 wrote:
 
 
 
 
 hey hey hey! wait a second there! is there a new mysqlfront? :o where
 can i download it? :) 3.0??? I already love and worship mysqlfront 2.5,
 i thought it was dead :(
 do you have a link?
 
 Victor,
 It's at the same URL www.mysqlfront.de I'm not sure it's stable yet
 
 
 
 
 zzapper (vim  cygwin  zsh)
 --
 
 vim -c :%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?
 
 http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: New INstall of MySQL

2004-01-09 Thread Victor Medina
OK!, first of all, do you have a complete-working directory of mysql in
whatever drive you installed mysql?, this is usually in c:\mysql. I
asked this because the installer doesn't seems to work. Also there is no
need for a my.cnf and a my.ini, you should only use one, one is enough,
i rather use my.cnf in c:\

To start mysql, giving that:
1.- my.cnf is in c:\ and correct
2.- you have a complete install in x:\mysql, where x is the drive where
you installed mysql

go into mysql directory, go to bin, there you have a few choices, 
1.-mysqld.exe the standard server
2.-mysqld-max.exe the max server, with bdb and innodb support
3.-mysql-max-nt.exe server, with dbd, innodb and named pipes

To start the server type:
1.- mysqld --standalone
2.- mysqld-max --standalone
3.- mysqld-max-nt --standalone

To install mysql server as service:
1.- mysqld --install
2.- mysqld-max --install
3.- mysqld-max-nt --install

One advice, mysql.com has copies of the mysql server in a zip package,
with no installer, is quite easy to install it, i always prefer this
method, i just don't like installers :) You just unzip it, edit the
my.cnf and copy it to c:\ that's all. 

Now for the my.cnf, you did move the data dir to somewhere else, did you
move your mysql internal data bases to the new locations??

From you my.cnf:

# Uncomment the following rows if you move the MySQL distribution to
another

 
 # location
 
 basedir = c:/mysql/
 
 datadir = c:/SQLData
 
 


did you move the data dir to the new location?

 C:\MySQL\binmysqld --console
 
 040109  9:53:02  InnoDB: Started
 
 040109  9:53:02  Fatal error: Can't open privilege tables: Table
 'mysql.host' d
 
 esn't exist
 
 040109  9:53:02  Aborting
 
  
 
 040109  9:53:02  InnoDB: Starting shutdown...
 
 040109  9:53:04  InnoDB: Shutdown completed
 
 040109  9:53:04  mysqld: Shutdown Complete



MySQL can't find the internal data bases (tables used to store config
data), because it is looking for it in c:\sqldata dir. You must move the
data dir inside c:\mysql to c:\sqldata for it to work

Hope this works!

Best regards from venezuela!


-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: compiling mysql with ssl

2004-01-09 Thread Victor Medina

I had the same problem, just don't know what is wrong with the red hat
ssl packages.  I did this:

1.- download a fresh copy of openssl, configure with
--prefix=/opt/OpenSSL, compile and install, everything will go to
/optOpenSSL, so, the new version won't conflict with the red hat's
2.- compile mysql with:
--with-openssl-libs=/opt/OpenSSL/lib
--with-openssl-include=/opt/OpenSSL/include
   --prefix=/opt/MySQL
I like to keep control with what i compile and install, it is quite hard
to find whats installed with MAKE INSTALL under /usr, changing the
default prefix is somehow easier to manage, every thing will go to /opt

This is how i did it, I have copies of 4.0, 4.1 and 5 running on the
same machine like this

Hope this helps!

Best Regards from venezuela

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: 4.1.1 --old-paswords 4.0.X clients

2004-01-08 Thread Victor Medina
It did change, but you can still use the old protocol by adding
--old-passwords option to the mysqld  or adding old-passwords option to
the [mysqld] group in my.cnf, using this, old clients will be able to
connect to 4.1 series servers without probs :)

By the way, i am not quite sure, but you should remove the down legal
note, i think the mysql list is public and free to every one to use and
quote, so while posting here it is better to remove the note, maybe
someone at mysql.com could confirm this?

Best Regards
On Thu, 2004-01-08 at 15:45, [EMAIL PROTECTED] wrote:

 I have a workstation that I set up as a 4.0.16 server to prove to myself 
 that I could use MySQL for an application we are developing. Now, for beta 
 testing, I set up a new 4.1.1 server on a real server box. I did not 
 upgrade the workstation with the 4.0.16 server. In setting up the new 
 server, I ran the mysql_fix_privilege_tables script and restarted the 
 server with the --old-passwords option. I then logged in locally as root 
 and created a new user account for me from my OTHER workstation with the 
 4.0 client. Unfortunately, as long as my account on the new server has a 
 password, I can't log in. I get the old standby, Client does not support 
 authentication protocol requested by server; consider upgrading MySQL 
 client. I went back to the documentation and it slowly dawned on me that 
 it was speaking strictly of an UPGRADE to an existing installation when it 
 talked about old passwords and the like. Consequently, I am beginning to 
 suspect that I cannot install a new 4.1.1 server and still use 4.0 
 clients. Is this correct or am I missing something (wish I could say that 
 was unlikely ;-)?
 
 Thanks
 
 
 Randolph Randy L. Chrismon
  [EMAIL PROTECTED]
 
  
 
 
 Confidentiality Note:  This message and any accompanying attachments 
 contain information from the law firm Fragomen, Del Rey, Bernsen  Loewy, 
 P.C. which is confidential or privileged.  The information is intended to 
 be for the use of the individual or entity named above. If you are not the 
 intended recipient, be aware that any disclosure, copying, distribution or 
 use of the contents of this information is prohibited. If you have 
 received this e-mail in error, please notify our offices immediately, by 
 telephone at 212-688-8555, or by e-mail at [EMAIL PROTECTED]

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: 4.1.1 --old-paswords 4.0.X clients

2004-01-08 Thread Victor Medina
you can still do a dump and restore, it works nicely. I think the
problem is that he users table changed. I have a 4.1 server running, i
just do a dump and restore from the old server to the new one. and added
the --old-password option.

Hope this helps!
On Thu, 2004-01-08 at 16:14, Victor Medina wrote:

 It did change, but you can still use the old protocol by adding
 --old-passwords option to the mysqld  or adding old-passwords option to
 the [mysqld] group in my.cnf, using this, old clients will be able to
 connect to 4.1 series servers without probs :)
 
 By the way, i am not quite sure, but you should remove the down legal
 note, i think the mysql list is public and free to every one to use and
 quote, so while posting here it is better to remove the note, maybe
 someone at mysql.com could confirm this?
 
 Best Regards
 On Thu, 2004-01-08 at 15:45, [EMAIL PROTECTED] wrote:
 
  I have a workstation that I set up as a 4.0.16 server to prove to myself 
  that I could use MySQL for an application we are developing. Now, for beta 
  testing, I set up a new 4.1.1 server on a real server box. I did not 
  upgrade the workstation with the 4.0.16 server. In setting up the new 
  server, I ran the mysql_fix_privilege_tables script and restarted the 
  server with the --old-passwords option. I then logged in locally as root 
  and created a new user account for me from my OTHER workstation with the 
  4.0 client. Unfortunately, as long as my account on the new server has a 
  password, I can't log in. I get the old standby, Client does not support 
  authentication protocol requested by server; consider upgrading MySQL 
  client. I went back to the documentation and it slowly dawned on me that 
  it was speaking strictly of an UPGRADE to an existing installation when it 
  talked about old passwords and the like. Consequently, I am beginning to 
  suspect that I cannot install a new 4.1.1 server and still use 4.0 
  clients. Is this correct or am I missing something (wish I could say that 
  was unlikely ;-)?
  
  Thanks
  
  
  Randolph Randy L. Chrismon
   [EMAIL PROTECTED]
  
   
  
  
  Confidentiality Note:  This message and any accompanying attachments 
  contain information from the law firm Fragomen, Del Rey, Bernsen  Loewy, 
  P.C. which is confidential or privileged.  The information is intended to 
  be for the use of the individual or entity named above. If you are not the 
  intended recipient, be aware that any disclosure, copying, distribution or 
  use of the contents of this information is prohibited. If you have 
  received this e-mail in error, please notify our offices immediately, by 
  telephone at 212-688-8555, or by e-mail at [EMAIL PROTECTED]

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|ext. 325  |
 ||geek by nature - linux by choice  |
 |...|



Re: Help me - please

2003-12-19 Thread Victor Medina
what distro are you using? what is running on this server? another
server is runnin' on the same machine? what hardware are you using? is
it heavy loaded? 



On Fri, 2003-12-19 at 09:54, Carlos Andr Moura de Amorim wrote:
 i added ulimit -n 1024 in mysql_install_db, i can't to install. Appear the
 error again. Please again!!!
 
 On Thu, 18 Dec 2003, Chris Elsworth wrote:
 
  On Thu, Dec 18, 2003 at 05:28:30PM -0200, Carlos Andr? Moura de Amorim wrote:
  
   031217 14:32:34  Warning: setrlimit couldn't increase number of open files
   to more than 256 (request: 510)
  
  It might be worth putting a ulimit -n 1024 (or some other decent
  number) in the rc.d script that starts mysql; then (assuming the
  kernel is going to allow it) mysql will be able to change the number
  of file descriptors it can open, to the best of my knowledge.
  
  -- 
  Chris
  
  -- 
  MySQL General Mailing List
  For list archives: http://lists.mysql.com/mysql
  To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
  
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Sporadic myisam table corruption.

2003-12-18 Thread Victor Medina
Hi all!

I also agree with you, it might be a hardware problem, but i also must
note, that in a environment with very often writes to the db, myisam
tables are not always the best choice, that's why i suggested a change
to InnoDB tables, a problem with sql or logic is more likely to happen
that a hardware glitch 

Just my two cents here :)
 
On Thu, 2003-12-18 at 07:51, Thomas Spahni wrote:
 Hi,
 
 either this should be properly debugged (if the problem persists with
 4.0.17) or it is a hardware glitch. MyIsam tables have proven quite stable
 anch changing to InnoDB might be looking for trouble (if hardware is the
 culprit). But it's true that InnoDB could be much more efficient in your
 environment.
 
 Thomas Spahni
 
 
 On Fri, 12 Dec 2003, Victor Medina wrote:
 
  Change myisam format to something else, like InoDB or BDB
 
  Best Regards!
 
  On Fri, 2003-12-12 at 15:05, James E Hicks III wrote:
   I'm having sporadic myisam table corruption. This table is constantly being
   added to, updated, and deleted from. PHPMyAdmin reports that The table is in
   use when I try to access this table after corruption.  After I perform this
   step in the correct directory everything goes back to normal.
  
   myisamchk --recover troubled_table
  
   After reading the mysql manual page I changed all the VARCHAR fields to CHAR
   fields, hoping my problem would dissapear. This change has had no effect on
   my problem. The only things in the error log are start ups and shutdowns
   performed nightly.
  
   Here's the table definition.
  
   CREATE TABLE troubled_table (
 office smallint(4) unsigned NOT NULL default '0',
 ticket_id char(30) NOT NULL default '',
 item_quantity mediumint(8) unsigned NOT NULL default '0',
 from_face char(30) NOT NULL default '',
 from_down decimal(6,1) unsigned NOT NULL default '0.0',
 from_up decimal(6,1) unsigned NOT NULL default '0.0',
 from_depth decimal(6,1) unsigned NOT NULL default '0.0',
 to_face char(30) NOT NULL default '',
 to_down decimal(6,1) unsigned NOT NULL default '0.0',
 to_up decimal(6,1) unsigned NOT NULL default '0.0',
 to_depth decimal(6,1) unsigned NOT NULL default '0.0',
 associated_document char(30) NOT NULL default '',
 PRIMARY KEY  (office,ticket_id),
 KEY move_id (ticket_id)
   ) TYPE=MyISAM COMMENT='Material Move Orders';
  
   mysql --version says:
  
   mysql  Ver 12.20 Distrib 4.0.13, for pc-linux-gnu (i686)
  
   What can I try now?
  
   James Hicks
 
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: HELLLLP! Databases No Longer Accessible

2003-12-15 Thread Victor Medina
This may sound crazy, and maybe paul would kill me but try this :)

1.- backup your data base files, just for moment, while we recover the
users data base
2.- erase your data base file completly
3.- run mysql_install_db
4.- restore your data bases, only _YOUR_ data bases, do not restore
mysql internal data bases
5.- recreate your users using the normal procedure

it seems you delete ALL mysql users, this will give you a fresh restart,
lossing users, but not data

Hope this works!

On Mon, 2003-12-15 at 15:06, Bob Cohen wrote:
 I seem to be locked out.  The trouble started when I deleted the Any
 user while in phpMyAdmin.  After doing that, I reloaded MySQL. 
 
 MySQL seems to load from the command line using the command mysqld_safe,
 except the command prompt doesn't return unless I hit control Z.  Once I
 ^Z myself back to the command line, I can access MySQL via only one
 username. And when I exit as root, the stopped jobs message appears.
 When I exit all the way, MySQL unloads and the Web sites become
 inaccessible.  I tried following the procedures Paul DuBois' book MYSQL,
 including bypassing the GRANT tables.  I know I must be missing
 something basic.  Help would be appreciated!
 
 Bob Cohen
 b.p.e.Creative
 http://www.bpecreative.com
 Design and production services for the web
 Put creative minds to work for you
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Login Problems

2003-12-12 Thread Victor Medina
I am using the command line for grant operations, no flushing though
Why are you using 4.0,6? any special reason? I am using a custom (i
compiled myself) 4.0.16

Here is an example operation:


 TRY TO LOG WITHOUT PASS, ERROR
[EMAIL PROTECTED] vmedina]$ mysql
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password:
NO)


*** TRY TO LOG WITH PASSWORD, SUCCESS!
[EMAIL PROTECTED] vmedina]$ mysql -u vmedina -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.0.16-log
 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

** CREATE A USER, NO FLUSH, LOGOUT 
mysql grant all privileges on *.* to test@'%' identified by '1234' with
grant option;
Query OK, 0 rows affected (0.00 sec)
 
mysql exit
Bye

 LOG INTO MYSQL USING THE NEW USER, 
 PROVIDE PASS, SUCCESS
[EMAIL PROTECTED] vmedina]$ mysql -u test -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.0.16-log
 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
mysql

*** USE THE NEW USER TO CREATE 
*** A YET AGAIN A NEW USER, NO FLUSH


[EMAIL PROTECTED] vmedina]$ mysql -u test -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.0.16-log
 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
mysql grant all privileges on *.* to test03@% identified by '1234'
with grant option;
Query OK, 0 rows affected (0.00 sec)
 
mysql


I've never used flush. I must say that the only user in that machine is
a user called vmedina, that's me, 'cause it is my development
workstation, as i told you i deleted ALL users after i created the
vmedina user, simply because there is no need for others, vmedina user
can handle all admin operations in a MySQL server, and create other
users as needed.

If you need anything else just let me know my friend :)

 
Best Regards

-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



MySQL Login Problems on 4.1

2003-12-12 Thread Victor Medina
Hi guys!

I am facing some problems trying to login user to the data base server
using --any-- client(except the mysql cli) to the server. Users using no
password does not seems to have any problems. 

It happens that when a client tries to log into the db server using
passwords the server doesn't seems to authorize. Even the most recent
MyCC client fails to autorize users using passwords. Do I need to
compile the clients against the new server's library? The MyCC client
was linked againts the 4.0.16 server. was there any change in the
auth-protocol?



Best Regards 
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Sporadic myisam table corruption.

2003-12-12 Thread Victor Medina
Change myisam format to something else, like InoDB or BDB

Best Regards!

On Fri, 2003-12-12 at 15:05, James E Hicks III wrote:
 I'm having sporadic myisam table corruption. This table is constantly being 
 added to, updated, and deleted from. PHPMyAdmin reports that The table is in 
 use when I try to access this table after corruption.  After I perform this 
 step in the correct directory everything goes back to normal. 
 
 myisamchk --recover troubled_table
 
 After reading the mysql manual page I changed all the VARCHAR fields to CHAR 
 fields, hoping my problem would dissapear. This change has had no effect on 
 my problem. The only things in the error log are start ups and shutdowns 
 performed nightly.
 
 Here's the table definition.
 
 CREATE TABLE troubled_table (
   office smallint(4) unsigned NOT NULL default '0',
   ticket_id char(30) NOT NULL default '',
   item_quantity mediumint(8) unsigned NOT NULL default '0',
   from_face char(30) NOT NULL default '',
   from_down decimal(6,1) unsigned NOT NULL default '0.0',
   from_up decimal(6,1) unsigned NOT NULL default '0.0',
   from_depth decimal(6,1) unsigned NOT NULL default '0.0',
   to_face char(30) NOT NULL default '',
   to_down decimal(6,1) unsigned NOT NULL default '0.0',
   to_up decimal(6,1) unsigned NOT NULL default '0.0',
   to_depth decimal(6,1) unsigned NOT NULL default '0.0',
   associated_document char(30) NOT NULL default '',
   PRIMARY KEY  (office,ticket_id),
   KEY move_id (ticket_id)
 ) TYPE=MyISAM COMMENT='Material Move Orders';
 
 mysql --version says:
 
 mysql  Ver 12.20 Distrib 4.0.13, for pc-linux-gnu (i686)
 
 What can I try now?
 
 James Hicks
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Virtual IO and MySQL FS

2003-12-11 Thread Victor Medina
Hi all!

one simple question: what is virtual IO and MySQL FS options in
configure scripts used for? I mean what can i do with this babes tuned
on? 

Best Regards! :)
-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Login Problems

2003-12-11 Thread Victor Medina
By default mySQL comes with a set of users that are allowed to login
locally without password. You should create a normal-superuser account,
and delete all others, and use this user to administer the rest of the
data base and use it to create all others accounts that you might need.

To create a new full-blown account:
grant all privileges on *.* to your_user@% identified by 'password'
with grant option;

Best Regards!

-- 
..
*  _ _ __ __  .. 
* \ \ \   |  |  __ \ /\   | | || Victor E Medina M
*  \ \ \  | |__  | |__) /  \  | | || Linux - Java - MySQL
*  |  __| |  ___/ /\ \ | | || Dpto. Sistemas - Ferreteria EPA
*  / / /  | || |  /  \|_| || www.superferreteria.com.ve
* /_/_/   |__|_| /_/\_(_) || [EMAIL PROTECTED]
* || geek by nature - linux by choice
..



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Connecting WO 5.2.1 to MySQL 4.0.13 on Windows 2000?

2003-06-02 Thread Victor Medina
Hi!

Most probably the drivers will be fine placing the jar file under
c:\jdk_dir\jre\lib\ext

This way there should be no classpath problem

Adding JDK_HOME and JAVA_HOME variables to your environment should help also
As for the drivers, both should work, just fine =)

On Sunday 01 June 2003 19:15, Kieran Kelleher wrote:
 Getting EO Modeler in WO 5.2.1 to connect to MySQL 4.0.12 on Windows 2000
 is evading us somehow and giving us a dreaded connection error. It works
 fine on OS X  I know it is something to do with Classpaths and the fact
 that EO Modeler uses a different JDBC connector than WO.

 1) If someone out there has MySQL 4.0.XX and WO 5.2.1 Development on
 Windows 2000 can you tell me what JDBC drivers you have in what folders and
 what customization, if any you had to do to classpath, connection string,
 etc.?

 2) Should I use the latest Connector/J 3.0.8 with MySQL 4.0.XX or does
 2.0.14 work with MySQL 4.0.XX and which JDBC connector is best for WO
 5.2.1?

 Thanks, Kieran

-- 
Victor Medina M
Ferreteria EPA - [EMAIL PROTECTED]
Geek by nature, Linux by choice!

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



  1   2   >