RE: Problems installing MySQL 4.1 under Fedora Core 3

2005-04-13 Thread John Schmidt
I am pretty sure hat is due to the SELinux policy being set to restrictive. For 
the brute force fix try editing /etc/selinux/config and set the variable 
SELINUX=Permissive. There is a more subtle approach that maintains beeter 
security explained under the SELinux topic in the Fedora doc, sorry I don't 
have the link handy. Basically you can realx the policy via the "targetted" 
settings. 
Good luck
//jjs
  


-Original Message-
From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED]
Sent: Wed 4/13/2005 10:56 PM
To: mysql@lists.mysql.com
Subject: Problems installing MySQL 4.1 under Fedora Core 3
 
I have a Pentium III with Fedora Core 3 notebook and I need to install 
MySQL 4.1 on it.
There was no mysql installed before so I've downloaded the packages and 
did what I usually do to install
the packages. They install great. But when I try to run MySQL I have 
problems as it does not run.
It tries for a while and then quits.

I am using the 4.1.11-0.i386 version.

I have checked the persmissions under /var/lib/mysql and they were user 
mysql group root. So I've changed to
the MySQL group by using chgrp -R mysql /var/lib/mysql

I've created an /etc/my.cnf file by copying the standard 
/usr/share/doc/packages/MySQL-server/my-medium.cnf

It still does not work.

My /var/log/messages file shows the following:

Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.267:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.269:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:54:10 presario2700 lsb_log_message:  failed

I have no idea what might be wrong.

Can anyone help me out?

Thanks in advance!



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




Problems installing MySQL 4.1 under Fedora Core 3

2005-04-13 Thread C.F. Scheidecker Antunes
I have a Pentium III with Fedora Core 3 notebook and I need to install 
MySQL 4.1 on it.
There was no mysql installed before so I've downloaded the packages and 
did what I usually do to install
the packages. They install great. But when I try to run MySQL I have 
problems as it does not run.
It tries for a while and then quits.

I am using the 4.1.11-0.i386 version.
I have checked the persmissions under /var/lib/mysql and they were user 
mysql group root. So I've changed to
the MySQL group by using chgrp -R mysql /var/lib/mysql

I've created an /etc/my.cnf file by copying the standard 
/usr/share/doc/packages/MySQL-server/my-medium.cnf

It still does not work.
My /var/log/messages file shows the following:
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.267:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.269:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:54:10 presario2700 lsb_log_message:  failed

I have no idea what might be wrong.
Can anyone help me out?
Thanks in advance!
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Re : Problems installing MySQL 4.1 under Fedora Core 3

2005-04-13 Thread C.F. Scheidecker Antunes
It only shows this:
050413  23:53:35 mysqld started
050413  23:53:35 mysqld ended
Nothing conclusive.
prasanna a wrote:
Hi
please cat the below error file and see 
/var/lib/mysql/presario2700.err

		
__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250

 

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


Problems installing MySQL 4.1 under Fedora Core 3

2005-04-13 Thread C.F. Scheidecker Antunes
I have a Pentium III with Fedora Core 3 notebook and I need to install 
MySQL 4.1 on it.
There was no mysql installed before so I've downloaded the packages and 
did what I usually do to install
the packages. They install great. But when I try to run MySQL I have 
problems as it does not run.
It tries for a while and then quits.

I am using the 4.1.11-0.i386 version.
I have checked the persmissions under /var/lib/mysql and they were user 
mysql group root. So I've changed to
the MySQL group by using chgrp -R mysql /var/lib/mysql

I've created an /etc/my.cnf file by copying the standard 
/usr/share/doc/packages/MySQL-server/my-medium.cnf

It still does not work.
My /var/log/messages file shows the following:
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.252:0): avc:  
denied  { append } for  pid=5693 exe=/usr/sbin/mysqld 
path=/var/lib/mysql/presario2700.err dev=hda5 ino=653099 
scontext=root:system_r:mysqld_t tcontext=root:object_r:var_lib_t tclass=file
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.267:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:53:35 presario2700 kernel: audit(1113458015.269:0): avc:  
denied  { write } for  pid=5693 exe=/usr/sbin/mysqld name=mysql dev=hda5 
ino=653096 scontext=root:system_r:mysqld_t 
tcontext=root:object_r:var_lib_t tclass=dir
Apr 13 23:54:10 presario2700 lsb_log_message:  failed

I have no idea what might be wrong.
Can anyone help me out?
Thanks in advance!

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


Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-15 Thread Gleb Paharenko
Hello.



>050314  1:31:06 /usr/sbin/mysqld-max: Shutdown Complete



Your error file has this record. And you said that you'd installed

only:

  >>>>> - I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm

  >>>>> - I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm



There are no mysqld-max in listed rpms. I suggest you to check your

installation. May be you should remove already installed instances

of MySQL and try to install it again. You could also install the 

server using binary distribution.







"C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote:

> I do not know what else to do at this point. I even messed with 

> permissions but I realized it is not the problem.

> 

> 

> Jeff Steinkamp wrote:

> 

>> Yes, and it look pretty much like yours.  Form what I can tell, the 

>> daemon is never started during the init cycle, or actually aborts for 

>> some reason.  Since my machine is a dual boot, Winders and Linux, and 

>> I am running a test project on the Winders machine, it will be later 

>> this weekend before I can get back to the Linux box and putter around 

>> further.

>>

>>

>> Jeff Steinkamp - N7YG

>> Tucson, AZ

>> SCUD Missile Coordinates

>> N32-13-52 W110-52-15

>> http://home.earthlink.net/~jksteinkamp

>> http://n7yg.webhop.org

>> ___

>> Nothing is foolproof to a sufficiently talented fool.

>>

>> - Original Message - From: "C.F. Scheidecker Antunes" 

>> <[EMAIL PROTECTED]>

>> To: "Jeff Steinkamp" <[EMAIL PROTECTED]>

>> Sent: Monday, March 14, 2005 10:52

>> Subject: Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

>>

>>

>>> Jeff,

>>>

>>> I am in SLC Utah.

>>> Do you have your /var/log/mysqld.log file? I've put mine on the list 

>>> so that anyone can see it.

>>>

>>> thanks,

>>>

>>> C.F.

>>>

>>> Jeff Steinkamp wrote:

>>>

>>>> I've had the same problem and for the last month I've not been able 

>>>> to get the mysqld to run.  Tried a number of things I've found on 

>>>> the net and nothing works.  If you get a solution, I will be 

>>>> interested.

>>>>

>>>>

>>>> Jeff Steinkamp - N7YG

>>>> Tucson, AZ

>>>> SCUD Missile Coordinates

>>>> N32-13-52 W110-52-15

>>>> http://home.earthlink.net/~jksteinkamp

>>>> http://n7yg.webhop.org

>>>> ___

>>>> At 18, I was ashamed of how ignorant my father was. At 21, I was 

>>>> amazed at how much he had learned in three years.

>>>>

>>>> - Original Message - From: "C.F. Scheidecker Antunes" 

>>>> <[EMAIL PROTECTED]>

>>>> To: 

>>>> Sent: Sunday, March 13, 2005 21:28

>>>> Subject: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

>>>>

>>>>

>>>>> Hello,

>>>>>

>>>>> I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp

>>>>>

>>>>> It is a dual Xenon PIII server.

>>>>>

>>>>> I am trying to install MySQL 4.0.24 as I usually do:

>>>>>

>>>>> - There are no other mysql servers present, no 3.x as I did not 

>>>>> install it.

>>>>>

>>>>> - I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm

>>>>> - I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm

>>>>> It installs the server

>>>>>

>>>>>

>>>>> Then I try to run MySQL but it does not run. Instead I have a .err 

>>>>> file under /var/lib/mysql  saying mysqld started and mysqld ended.

>>>>>

>>>>> I have done so many MySQL installs before and so I cannot 

>>>>> understand why I cannot install it now on this server.

>>>>> The tables are not created not even if I run mysql_install_db.

>>>>>

>>>>> Is there any dependency that is missing? Any necessary library?

>>>>>

>>>>> Any ideas?

>>>>>

>>>>> Thank you,

>>>>>

>>>>> C.F.

>>>>>

>>>>> 

-- 
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]



Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread C.F. Scheidecker Antunes
I do not know what else to do at this point. I even messed with 
permissions but I realized it is not the problem.

Jeff Steinkamp wrote:
Yes, and it look pretty much like yours.  Form what I can tell, the 
daemon is never started during the init cycle, or actually aborts for 
some reason.  Since my machine is a dual boot, Winders and Linux, and 
I am running a test project on the Winders machine, it will be later 
this weekend before I can get back to the Linux box and putter around 
further.

Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-52 W110-52-15
http://home.earthlink.net/~jksteinkamp
http://n7yg.webhop.org
___
Nothing is foolproof to a sufficiently talented fool.
- Original Message - From: "C.F. Scheidecker Antunes" 
<[EMAIL PROTECTED]>
To: "Jeff Steinkamp" <[EMAIL PROTECTED]>
Sent: Monday, March 14, 2005 10:52
Subject: Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box


Jeff,
I am in SLC Utah.
Do you have your /var/log/mysqld.log file? I've put mine on the list 
so that anyone can see it.

thanks,
C.F.
Jeff Steinkamp wrote:
I've had the same problem and for the last month I've not been able 
to get the mysqld to run.  Tried a number of things I've found on 
the net and nothing works.  If you get a solution, I will be 
interested.

Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-52 W110-52-15
http://home.earthlink.net/~jksteinkamp
http://n7yg.webhop.org
___
At 18, I was ashamed of how ignorant my father was. At 21, I was 
amazed at how much he had learned in three years.

- Original Message - From: "C.F. Scheidecker Antunes" 
<[EMAIL PROTECTED]>
To: 
Sent: Sunday, March 13, 2005 21:28
Subject: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box


Hello,
I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp
It is a dual Xenon PIII server.
I am trying to install MySQL 4.0.24 as I usually do:
- There are no other mysql servers present, no 3.x as I did not 
install it.

- I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm
- I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm
It installs the server
Then I try to run MySQL but it does not run. Instead I have a .err 
file under /var/lib/mysql  saying mysqld started and mysqld ended.

I have done so many MySQL installs before and so I cannot 
understand why I cannot install it now on this server.
The tables are not created not even if I run mysql_install_db.

Is there any dependency that is missing? Any necessary library?
Any ideas?
Thank you,
C.F.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]





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


Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread C.F. Scheidecker Antunes
Hi Bob,
Yes the ownership is correct. In fact I did a chmod -R mysql:mysql 
/var/lib/mysql and I still have the same problem.
I wonder if it is because I am running a dual processor machine.

Robert A. Rawlinson wrote:
C.F. Scheidecker Antunes wrote:
Hello Mr Paharenko,
I have started it with mysqld_safe & and I also tried 
/etc/rc.d/init.d/mysql start

Funny thing is that after install the the mysql and test databases 
are empty so I've tried mysql_install_db which runs but the databases 
remains empty as well.

It is weird. I've done so many MySQL installations under Linux and 
they are usually so smoth. Any version I try to install on this 
machine such as 4.0.24 and 4.0.20 is not successful.
So I believe that there must be a missing library on this machine. It 
is a dual PIII Xenon 500Mhz Compaq Server with 2GB of RAM and a Raid 
system. It is running a smp kernel

2.6.10-1.770_FC3smp
I am attaching the files for you.
As you can see it only has the process number and that it started and 
ended right away.
Again, the base mysql database cannot be created. So I wonder, is 
there any app missing?

If I still FC3 full I can get it running if I remove the original 
series 3.x and put 4.x
Then if I still a clean FC3 and try 4.0 it does not work. Any clues?

The attached file is myhost.err under /var/lib/mysql that I've 
renamed to mysql.log

mysqld.log is under /var/log/  and it has the errors
Thank you in advance,
C.F.

Gleb Paharenko wrote:
Hello.
 

under /var/lib/mysql  saying mysqld started and mysqld ended.
  

It is unusual behavior of MySQL to leave the error files without
clues. Please, send us the contents of this file.
 

The tables are not created not even if I run mysql_install_db.
  

According to the manual they should be installed automatically,
when you're using RPM distribution.
How do you start the MySQL server?
"C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote:
 

Hello,
I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp
It is a dual Xenon PIII server.
I am trying to install MySQL 4.0.24 as I usually do:
- There are no other mysql servers present, no 3.x as I did not 
install it.

- I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm
- I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm
It installs the server
Then I try to run MySQL but it does not run. Instead I have a .err 
file under /var/lib/mysql  saying mysqld started and mysqld ended.

I have done so many MySQL installs before and so I cannot 
understand why I cannot install it now on this server.
The tables are not created not even if I run mysql_install_db.

Is there any dependency that is missing? Any necessary library?
Any ideas?
Thank you,
C.F.
  


 


050314 02:22:28  mysqld started
050314 02:22:28  mysqld ended
050314 02:27:47  mysqld started
050314 02:27:47  mysqld ended
050314 02:28:00  mysqld started
050314 02:28:00  mysqld ended
 


050314 01:30:52  mysqld started
050314 01:30:52  mysqld ended
050314 01:30:58  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
050314  1:30:58  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
050314  1:30:59  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...
050314  1:30:59  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
050314  1:31:02  InnoDB: Started
050314  1:31:02 Fatal error: Can't open privilege tables: Table 
'mysql.host' doesn't exist
050314  1:31:02 Aborting

050314  1:31:02  InnoDB: Starting shutdown...
050314  1:31:06  InnoDB: Shutdown completed
050314  1:31:06 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:31:06  mysqld ended
050314 01:31:32  mysqld started
050314  1:31:32  InnoDB: Started
050314  1:31:32 Fatal error: Can't open privilege tables: Table 
'mysql.host' doesn't exist
050314  1:31:32 Aborting

050314  1:31:32  InnoDB: Starting shutdown...
050314  1:31:35  InnoDB: Shutdown completed
050314  1:31:35 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:31:35  mysqld ended
050314 01:32:03  mysqld started
050314  1:32:03  InnoDB: Started
050314  1:32:03 Fatal error: Can't open privilege tables: Table 
'mysql.host' doesn't exist
050314  1:32:03 Aborting

050314  1:32:03  InnoDB: Starting shutdown...
050314  1:32:05  InnoDB: Shutdown completed
050314  1:32:05 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:32:05  mysqld ended
050314 01:32:41  mysqld started
050314  1:32:41  InnoDB: St

Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread Robert A. Rawlinson
C.F. Scheidecker Antunes wrote:
Hello Mr Paharenko,
I have started it with mysqld_safe & and I also tried 
/etc/rc.d/init.d/mysql start

Funny thing is that after install the the mysql and test databases are 
empty so I've tried mysql_install_db which runs but the databases 
remains empty as well.

It is weird. I've done so many MySQL installations under Linux and 
they are usually so smoth. Any version I try to install on this 
machine such as 4.0.24 and 4.0.20 is not successful.
So I believe that there must be a missing library on this machine. It 
is a dual PIII Xenon 500Mhz Compaq Server with 2GB of RAM and a Raid 
system. It is running a smp kernel

2.6.10-1.770_FC3smp
I am attaching the files for you.
As you can see it only has the process number and that it started and 
ended right away.
Again, the base mysql database cannot be created. So I wonder, is 
there any app missing?

If I still FC3 full I can get it running if I remove the original 
series 3.x and put 4.x
Then if I still a clean FC3 and try 4.0 it does not work. Any clues?

The attached file is myhost.err under /var/lib/mysql that I've renamed 
to mysql.log

mysqld.log is under /var/log/  and it has the errors
Thank you in advance,
C.F.

Gleb Paharenko wrote:
Hello.
 

under /var/lib/mysql  saying mysqld started and mysqld ended.
  

It is unusual behavior of MySQL to leave the error files without
clues. Please, send us the contents of this file.
 

The tables are not created not even if I run mysql_install_db.
  

According to the manual they should be installed automatically,
when you're using RPM distribution.
How do you start the MySQL server?
"C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote:
 

Hello,
I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp
It is a dual Xenon PIII server.
I am trying to install MySQL 4.0.24 as I usually do:
- There are no other mysql servers present, no 3.x as I did not 
install it.

- I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm
- I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm
It installs the server
Then I try to run MySQL but it does not run. Instead I have a .err 
file under /var/lib/mysql  saying mysqld started and mysqld ended.

I have done so many MySQL installs before and so I cannot understand 
why I cannot install it now on this server.
The tables are not created not even if I run mysql_install_db.

Is there any dependency that is missing? Any necessary library?
Any ideas?
Thank you,
C.F.
  

 


050314 02:22:28  mysqld started
050314 02:22:28  mysqld ended
050314 02:27:47  mysqld started
050314 02:27:47  mysqld ended
050314 02:28:00  mysqld started
050314 02:28:00  mysqld ended
 


050314 01:30:52  mysqld started
050314 01:30:52  mysqld ended
050314 01:30:58  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
050314  1:30:58  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
050314  1:30:59  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...
050314  1:30:59  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
050314  1:31:02  InnoDB: Started
050314  1:31:02 Fatal error: Can't open privilege tables: Table 'mysql.host' 
doesn't exist
050314  1:31:02 Aborting
050314  1:31:02  InnoDB: Starting shutdown...
050314  1:31:06  InnoDB: Shutdown completed
050314  1:31:06 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:31:06  mysqld ended
050314 01:31:32  mysqld started
050314  1:31:32  InnoDB: Started
050314  1:31:32 Fatal error: Can't open privilege tables: Table 'mysql.host' 
doesn't exist
050314  1:31:32 Aborting
050314  1:31:32  InnoDB: Starting shutdown...
050314  1:31:35  InnoDB: Shutdown completed
050314  1:31:35 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:31:35  mysqld ended
050314 01:32:03  mysqld started
050314  1:32:03  InnoDB: Started
050314  1:32:03 Fatal error: Can't open privilege tables: Table 'mysql.host' 
doesn't exist
050314  1:32:03 Aborting
050314  1:32:03  InnoDB: Starting shutdown...
050314  1:32:05  InnoDB: Shutdown completed
050314  1:32:05 /usr/sbin/mysqld-max: Shutdown Complete
050314 01:32:05  mysqld ended
050314 01:32:41  mysqld started
050314  1:32:41  InnoDB: Started
050314  1:32:41 Fatal error: Can't open privilege tables: Table 'mysql.host' 
doesn't exist
050314  1:32:41 Aborting
050314  1:32:41  InnoDB: Starting shutdown...
050314  1:32:43  InnoDB: Shutdown completed
050314  1:32

Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread gerald_clark
C.F. Scheidecker Antunes wrote:
Hello Mr Paharenko,
I have started it with mysqld_safe & and I also tried 
/etc/rc.d/init.d/mysql start

Funny thing is that after install the the mysql and test databases are 
empty so I've tried mysql_install_db which runs but the databases 
remains empty as well.

It is weird. I've done so many MySQL installations under Linux and 
they are usually so smoth. Any version I try to install on this 
machine such as 4.0.24 and 4.0.20 is not successful.
So I believe that there must be a missing library on this machine. It 
is a dual PIII Xenon 500Mhz Compaq Server with 2GB of RAM and a Raid 
system. It is running a smp kernel

2.6.10-1.770_FC3smp
Fedora supplied RPMS initialize the database when you do a 'service 
mysqld start'
Have you done this?

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


Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread C.F. Scheidecker Antunes
Hello Mr Paharenko,
I have started it with mysqld_safe & and I also tried 
/etc/rc.d/init.d/mysql start

Funny thing is that after install the the mysql and test databases are 
empty so I've tried mysql_install_db which runs but the databases 
remains empty as well.

It is weird. I've done so many MySQL installations under Linux and they 
are usually so smoth. Any version I try to install on this machine such 
as 4.0.24 and 4.0.20 is not successful.
So I believe that there must be a missing library on this machine. It is 
a dual PIII Xenon 500Mhz Compaq Server with 2GB of RAM and a Raid 
system. It is running a smp kernel

2.6.10-1.770_FC3smp
I am attaching the files for you.
As you can see it only has the process number and that it started and ended 
right away.
Again, the base mysql database cannot be created. So I wonder, is there any app 
missing?
If I still FC3 full I can get it running if I remove the original series 3.x 
and put 4.x
Then if I still a clean FC3 and try 4.0 it does not work. Any clues?
The attached file is myhost.err under /var/lib/mysql that I've renamed to 
mysql.log
mysqld.log is under /var/log/  and it has the errors
Thank you in advance,
C.F.

Gleb Paharenko wrote:
Hello.
 

under /var/lib/mysql  saying mysqld started and mysqld ended.
   

It is unusual behavior of MySQL to leave the error files without
clues. Please, send us the contents of this file.
 

The tables are not created not even if I run mysql_install_db.
   

According to the manual they should be installed automatically,
when you're using RPM distribution.
How do you start the MySQL server?
"C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote:
 

Hello,
I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp
It is a dual Xenon PIII server.
I am trying to install MySQL 4.0.24 as I usually do:
- There are no other mysql servers present, no 3.x as I did not install it.
- I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm
- I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm
It installs the server
Then I try to run MySQL but it does not run. Instead I have a .err file 
under /var/lib/mysql  saying mysqld started and mysqld ended.

I have done so many MySQL installs before and so I cannot understand why 
I cannot install it now on this server.
The tables are not created not even if I run mysql_install_db.

Is there any dependency that is missing? Any necessary library?
Any ideas?
Thank you,
C.F.
   


 

050314 02:22:28  mysqld started
050314 02:22:28  mysqld ended

050314 02:27:47  mysqld started
050314 02:27:47  mysqld ended

050314 02:28:00  mysqld started
050314 02:28:00  mysqld ended

050314 01:30:52  mysqld started
050314 01:30:52  mysqld ended

050314 01:30:58  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
050314  1:30:58  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
050314  1:30:59  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...
050314  1:30:59  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
050314  1:31:02  InnoDB: Started
050314  1:31:02 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050314  1:31:02 Aborting

050314  1:31:02  InnoDB: Starting shutdown...
050314  1:31:06  InnoDB: Shutdown completed
050314  1:31:06 /usr/sbin/mysqld-max: Shutdown Complete

050314 01:31:06  mysqld ended

050314 01:31:32  mysqld started
050314  1:31:32  InnoDB: Started
050314  1:31:32 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050314  1:31:32 Aborting

050314  1:31:32  InnoDB: Starting shutdown...
050314  1:31:35  InnoDB: Shutdown completed
050314  1:31:35 /usr/sbin/mysqld-max: Shutdown Complete

050314 01:31:35  mysqld ended

050314 01:32:03  mysqld started
050314  1:32:03  InnoDB: Started
050314  1:32:03 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050314  1:32:03 Aborting

050314  1:32:03  InnoDB: Starting shutdown...
050314  1:32:05  InnoDB: Shutdown completed
050314  1:32:05 /usr/sbin/mysqld-max: Shutdown Complete

050314 01:32:05  mysqld ended

050314 01:32:41  mysqld started
050314  1:32:41  InnoDB: Started
050314  1:32:41 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
050314  1:32:41 Aborting

050314  1:32:41  InnoDB: Starting shutdown...
050314  1:32:43  InnoDB: Shutdown completed
050314  1:32:43 /usr/sbin/mysqld-max: Shutdown Complete

050314 01:32:43  mysqld ended

050314 01:32:58  mysqld started
050314  1:32:59  InnoDB: Started
050314  1:32:59 Fatal error: Ca

Re: Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-14 Thread Gleb Paharenko
Hello.



> under /var/lib/mysql  saying mysqld started and mysqld ended.



It is unusual behavior of MySQL to leave the error files without

clues. Please, send us the contents of this file.



> The tables are not created not even if I run mysql_install_db.



According to the manual they should be installed automatically,

when you're using RPM distribution.



How do you start the MySQL server?





"C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> wrote:

> Hello,

> 

> I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp

> 

> It is a dual Xenon PIII server.

> 

> I am trying to install MySQL 4.0.24 as I usually do:

> 

> - There are no other mysql servers present, no 3.x as I did not install it.

> 

> - I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm

> - I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm

> It installs the server

> 

> 

> Then I try to run MySQL but it does not run. Instead I have a .err file 

> under /var/lib/mysql  saying mysqld started and mysqld ended.

> 

> I have done so many MySQL installs before and so I cannot understand why 

> I cannot install it now on this server.

> The tables are not created not even if I run mysql_install_db.

> 

> Is there any dependency that is missing? Any necessary library?

> 

> Any ideas?

> 

> Thank you,

> 

> C.F.

> 



-- 
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]



Problems installing MySQL 4.0.24 on a Fedora Core 3 x86 box

2005-03-13 Thread C.F. Scheidecker Antunes
Hello,
I have Fedora Core 3 kernel 2.6.10-1.770_FC3smp
It is a dual Xenon PIII server.
I am trying to install MySQL 4.0.24 as I usually do:
- There are no other mysql servers present, no 3.x as I did not install it.
- I run rpm -ivh MySQL-client-4.0.24-0.i386.rpm
- I run rpm -ivh MySQL-server-4.0.24-0.i386.rpm
It installs the server
Then I try to run MySQL but it does not run. Instead I have a .err file 
under /var/lib/mysql  saying mysqld started and mysqld ended.

I have done so many MySQL installs before and so I cannot understand why 
I cannot install it now on this server.
The tables are not created not even if I run mysql_install_db.

Is there any dependency that is missing? Any necessary library?
Any ideas?
Thank you,
C.F.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: Problems installing MySql...

2005-02-09 Thread SGreen
"Steve Grosz" <[EMAIL PROTECTED]> wrote on 02/09/2005 03:43:22 PM:

> I downloaded the MySql Administrator and simply run that. and 
> dragged the icon to the startup menu so it loads MySql on startup. 
> Not entirely sure how to load MySql as a 'service' on Win2003 Server.
> 
> The only message I get, and this is when trying to administer the 
> server through the Admin tool, is that it can't connect to 
> 'localhost' with 'root' and 'password' defined in my.ini
> Steve
> 
> 


Since you are on installation step 2.3.10, I can only guess that you 
haven't started your MySQL server. There are normally 2 programs you have 
to have going to use MySQL. The server and a client. I don't think you 
have your server going.

Follow the directions from 2.3.10 on and you should complete your 
installation just fine. (I would skip 2.3.11 since you are going to be 
running MySQL as a service anyway)

2.3.13 shows how to test your setup. 2.3.14 has troubleshooting advice. 

IF you finish the installation procedure and still cannot connect. Come 
back to the list again and we will be able to help you out some more, OK?

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

Re: Problems installing MySql...

2005-02-09 Thread SGreen
>> reconstituted from a munged response 
(original post)
Steve Grosz <[EMAIL PROTECTED]> wrote on 02/08/2005 06:04:48 PM:

> I already have a version of MySql 4.1.17 running on a different server, 
but
> am trying to setup v.4.0.23 to see if it will allow me to use PHPBB's
> software.
> 
> I'm finding that 4.0.23 isn't as easy to set up as the later versions.
> 
> I modified the my.ini file and put it in the \windows directory for 
Windows
> Server 2003.
> 
> When I try to use the MySql Administator, and put in the server name, 
root
> account and password defined in the my.ini file, it doesn't connect, 
using
> 'localhost'.
> 
> What am I doing incorrectly?
> 
> Steve
> 

Did you remember to cross your fingers and gnash your teeth? What about 
the blue button, did you press it? (Just kidding)


First off, you left out a lot of useful information about your situation:
How did you install the 4.0.23 (zip, msi,...)? 
Have you verified that the server is running? 
What other connection methods have you tried? Did they work?
Have you been following the documented installation procedure (
http://dev.mysql.com/doc/mysql/en/installing.html)? If you have, what step 

are you on?
Have you looked at the Troubleshooting guide (
http://dev.mysql.com/doc/mysql/en/problems.html)?
Besides posting to this list, what other things have you tried?

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

> Steve's Reply <
"Steve Grosz" <[EMAIL PROTECTED]> wrote on 02/09/2005 02:01:14 PM:

> I guess I didn't hold my mouth right.hate it when that happens! :-) 
I installed from a ZIP file, and the Admin tool 
> does show that the server is running.
>
> I have tried to telnet into that server, and it fails, but that may 
> be due to the firewall.
>
> Currently I am on step #2.3.10 of the install process.
> If I didn't answer all your questions, let me know!  Thanks for the 
help!!
> Steve

Just curious, if you are being faithful to the installation docs How 
is the Admin tool running? You aren't to that step yet... ;-)

Anyway, it's odd that you cannot telnet to a server when you say it is up. 
Note: You DO NOT get a normal telnet session, all you should be able to 
see when you telnet to a MySQL server is the version number and some 
garbage characters. That tells you that you have port-to-port connectivity 
from your machine to the server. It would be prohibitively difficult to 
use telnet (read: practically impossible) to work directly with a MySQL 
server manually through telnet.

How did you start the server, is it installed as a service or are you 
running it manually from a command prompt? 

Is your problem connecting to the server through mysqladmin or getting the 
server running? Can you connect through the command line client mysql.exe? 
 What error messages are you getting and from what program?

And one last thing... please CC: the list on all responses. It will not 
only help the next dba through a similar issue but it will also make sure 
you get more responses. In the event that I became unavailable or gave you 
bad advice, anyone else on the list could kick in and help get you going, 
too.


Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine






 




Re: Problems installing MySql...

2005-02-09 Thread SGreen
Steve Grosz <[EMAIL PROTECTED]> wrote on 02/08/2005 06:04:48 PM:

> I already have a version of MySql 4.1.17 running on a different server, 
but
> am trying to setup v.4.0.23 to see if it will allow me to use PHPBB's
> software.
> 
> I'm finding that 4.0.23 isn't as easy to set up as the later versions.
> 
> I modified the my.ini file and put it in the \windows directory for 
Windows
> Server 2003.
> 
> When I try to use the MySql Administator, and put in the server name, 
root
> account and password defined in the my.ini file, it doesn't connect, 
using
> 'localhost'.
> 
> What am I doing incorrectly?
> 
> Steve
> 

Did you remember to cross your fingers and gnash your teeth? What about 
the blue button, did you press it? (Just kidding)


First off, you left out a lot of useful information about your situation:
How did you install the 4.0.23 (zip, msi,...)? 
Have you verified that the server is running? 
What other connection methods have you tried? Did they work?
Have you been following the documented installation procedure (
http://dev.mysql.com/doc/mysql/en/installing.html)? If you have, what step 
are you on?
Have you looked at the Troubleshooting guide (
http://dev.mysql.com/doc/mysql/en/problems.html)?
Besides posting to this list, what other things have you tried?

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

Problems installing MySql...

2005-02-08 Thread Steve Grosz
I already have a version of MySql 4.1.17 running on a different server, but
am trying to setup v.4.0.23 to see if it will allow me to use PHPBB's
software.
I'm finding that 4.0.23 isn't as easy to set up as the later versions.
I modified the my.ini file and put it in the \windows directory for Windows
Server 2003.
When I try to use the MySql Administator, and put in the server name, root
account and password defined in the my.ini file, it doesn't connect, using
'localhost'.
What am I doing incorrectly?
Steve
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Problems installing 4.0 & 4.1 on XP system

2004-06-16 Thread Peter Turner
To start with I have tried to use "mysqlbug" but it doesn't work, when I 
go to the scripts directory in the command prompt window 
(c:\mysql\scripts) and type mysqlbug and hit enter it just says it is 
not recognized as "anything".
I have as a reference Welling and Thomsons book "MYSQL Tutorial" and 
have followed their instructions regarding installation but things are 
not happening as they describe.
I have downloaded both versions twice or three times each and 
installed/uninstalled re-installed many times trying to get it to work.
The most significant single issue seems to be that the server begins to 
run when I type in "standalone" and then when I type "install" it says 
it is already installed.
I look in services (XP Admin) and It is there but not started, when I 
start it there it  won't - "there is already a service running". If I 
close it (mysqld-max.exe) in task manager, the services window will 
allow me to start it. the service can be running but not showing as so 
in the services dialog. It can also be runnning and not listed at all in 
services.
In 4.1.2 particularly it installed without being able to recognize the 
[EMAIL PROTECTED] user - I could not set a password nor allocate privileges 
etc. I have configured both versions with the my.ini file suggested in 
the book (as follows)
[mysqld]
#basedir=C:\\mysql
#datadir=C:\\mysql\\data
#turn on binary logging and slow query logging
log-bin
log-slow-queries

#InnoDb config
#This is the basic config as suggested in the manual
#Datafile(s) must be able to
#hold your data and indexes.
#Make sure you have enough
#free disk space.
innodb_data_file_path = ibdatal:10M:autoextend
#Set buffer pool size to
#50 -80 % of your computer's
#memory
#set-variable = innodb_buffer_pool_awe_mem=500M
set-variable = innodb_buffer_pool_size=70M
set-variable = innodb_additional_mem_pool_size=10M
#Set the log file size to about
#25% of the buffer pool size
set-variable = innodb_log_file_size=20M
set-variable = innodb_log_buffer_size=8M
#Set ..flush_log_at_trx_commit
#to 0 if you can afford losing
#some last transactions
innodb_flush_log_at_trx_commit=1
Sometimes I could get  4.1.2 to install if I deleted my.ini.
The book mentions a series of startup messages when standalone is 
entered - I never get them - the cmd prompt(mysql monitor) disappears. I 
read in the manual that that is normal and to open another, this works.
The server is installed and starts when I boot up but isn't showing as 
started in services dialog. I've mentioned this twice because it seems 
significant tho' I don't know in what way.
At the time of sending this message the service running issues are as 
described (using version 4.0) but the set password function works (it 
didn't with 4.1 [EMAIL PROTECTED] was not recognized) and I have been 
able to move on to creating databases and tables.
Should I accept things as they are or is there a fix?
Peter Turner
Melbourne, Australia




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: Problems Installing

2004-03-02 Thread Kevin Williams
Marie,

Welcome to the wonderful world of Linux!  Glad to hear your making the
jump:)  One of the major drawbacks (or bonuses depending on your point
of view) is that you have to be familiar with the command line.  

You mentioned you are on Redhat.  There are two options here--either you
could select to install MySQL when installing RedHat (it's an option
during the installation process), or you can install it after (which it
sounds like you're doing).  The MySQL RPM files work VERY well.  I
recommend you download those.  Just download them wherever (temp folder,
home directory, etc...), change your mode to su at the command prompt
and install via rpm -i [rpm_file_name.rpm].  You should now have MySQL
installed!  From there, enjoy the THOROUGH documentation.  Not the most
enjoyable reading, but MySQL is in my opinion, the best documented open
source tool out there.

I'm not sure what you're doing in the /usr/local directory--while MySQL
puts stuff in the /usr directory during the installation process
(/usr/lib/mysql if I recall correctly), you shouldn't need to go there
during the installation process.

Hope this helps,

Kevin Williams 

On Tue, 2004-03-02 at 16: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.

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



Problems Installing

2004-03-02 Thread Marie Salas

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 you’re looking for faster.

problems installing mysql and modules on AIX 5.1

2003-06-06 Thread Dana Holland
I'm trying to install mysql with the DBI and DBD Perl modules on a AIX 
5.1 machine, with Perl 5.6.  I've also tried using CPAN.  On the 
DBI-1.37 portion, it's failing at the "make test" stage- below is the 
ouput.  Any suggestions?

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/opt/perl5/
lib/5.6.0/aix -I/usr/opt/perl5/lib/5.6.0 -e 'use Test::Harness 
qw(&runtests $ver
bose); $verbose=0; runtests @ARGV;' t/*.t
t/base..Can't locate Storable.pm in @INC (@INC contains: 
blib/arch b
lib/lib /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5
/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/pe
rl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 
/usr/opt/perl5/lib/site_perl/5.6.0/ai
x /usr/opt/perl5/lib/site_perl/5.6.0/aix 
/usr/opt/perl5/lib/site_perl/5.6.0 /usr
/opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/p
erl5/lib/site_perl . /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5/lib/5.6.0 /usr/
opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/pe
rl5/lib/site_perl .) at blib/lib/RPC/PlServer/Comm.pm line 25.
Compilation failed in require at t/base.t line 5.
t/base..dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/clientCan't locate Storable.pm in @INC (@INC contains: 
blib/arch b
lib/lib /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5
/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/pe
rl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 
/usr/opt/perl5/lib/site_perl/5.6.0/ai
x /usr/opt/perl5/lib/site_perl/5.6.0/aix 
/usr/opt/perl5/lib/site_perl/5.6.0 /usr
/opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/p
erl5/lib/site_perl . /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5/lib/5.6.0 /usr/
opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/pe
rl5/lib/site_perl .) at blib/lib/RPC/PlServer/Comm.pm line 25.
Compilation failed in require at blib/lib/RPC/PlClient.pm line 26.
BEGIN failed--compilation aborted at blib/lib/RPC/PlClient.pm line 26.
Compilation failed in require at t/lib.pl line 4.
Compilation failed in require at t/client.t line 7.
t/clientdubious
Test returned status 2 (wstat 512, 0x200)
t/compress..skipped test on this platform
t/crypt.skipped test on this platform
t/methods...Can't locate Storable.pm in @INC (@INC contains: 
blib/arch b
lib/lib /usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5
/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/pe
rl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.6.0 
/usr/opt/perl5/lib/site_perl/5.6.0/ai
x /usr/opt/perl5/lib/site_perl/5.6.0/aix 
/usr/opt/perl5/lib/site_perl/5.6.0 /usr
/opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/p
erl5/lib/site_perl . /usr/opt/perl5/lib/5.6.0/aix 
/usr/opt/perl5/lib/5.6.0 /usr/
opt/perl5/lib/site_perl/5.6.0/aix /usr/opt/perl5/lib/site_perl/5.6.0 
/usr/opt/pe
rl5/lib/site_perl .) at blib/lib/RPC/PlServer/Comm.pm line 25.
Compilation failed in require at blib/lib/RPC/PlClient.pm line 26.
BEGIN failed--compilation aborted at blib/lib/RPC/PlClient.pm line 26.
Compilation failed in require at t/lib.pl line 4.
Compilation failed in require at t/methods.t line 7.
t/methods...dubious
Test returned status 2 (wstat 512, 0x200)
Failed Test  Status Wstat Total Fail  Failed  List of failed
---
t/base.t  2   512 33 100.00%  1-3
t/client.t2   512??   ??   %  ??
t/methods.t   2   512??   ??   %  ??
2 tests skipped.
Failed 3/5 test scripts, 40.00% okay. 3/3 subtests failed, 0.00% okay.
make: 1254-004 The error code from the last command is 2.

Stop.
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
--

Dana Holland[EMAIL PROTECTED] 903-875-7355
Navarro CollegeCorsicana, TX
http://www.navarrocollege.edu/staff_pages/dana/dana.html

All opinions stated are my own, and probably don't even
vaguely resemble those of Navarro College.  :)


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


Re: Problems installing DBD::mysql for My SQL 4

2003-06-02 Thread James Marcinek
> I believe the package you are looking for is
>
> zlib-devel
>
> The latest version from redhat is available at
> http://updates.redhat.com/8.0/en/os/i386/zlib-devel-1.1.4-8.8x.i386.rpm
>
> Thanks,
> Ryan Yagatich
>
> ,_,
> \ Ryan Yagatich [EMAIL PROTECTED] \
> / Pantek Incorporated  (877) LINUX-FIX /
> \ http://www.pantek.com/security(440) 519-1802 \
> /   Are your networks secure? Are you certain? /
> \___9C80D881D4D379058537BE21F52F14FA6354C11AC57734FB___\
>
>
> On Sun, 2003-06-01 at 21:21, James Marcinek wrote:
>
> 
>> 1.) You may try to remove the -lz or -lgz flag from the libs list
>> by using the --libs switch for "perl Makefile.PL".
>> 2.) On Red Hat Linux install libz-devel
>> 3.) On other systems, please contact the mailing list
>>
> 
>> Can anyone help me out here?
>>
>> Thanks,
>>
>> James
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
> http://lists.mysql.com/[EMAIL PROTECTED]
>


I got it finally!!!

Thanks for the help!

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



Re: Problems installing DBD::mysql for My SQL 4

2003-06-02 Thread Ryan Yagatich
I believe the package you are looking for is

zlib-devel

The latest version from redhat is available at
http://updates.redhat.com/8.0/en/os/i386/zlib-devel-1.1.4-8.8x.i386.rpm

Thanks,
Ryan Yagatich

,_,
\ Ryan Yagatich [EMAIL PROTECTED] \
/ Pantek Incorporated  (877) LINUX-FIX /
\ http://www.pantek.com/security(440) 519-1802 \
/   Are your networks secure? Are you certain? /
\___9C80D881D4D379058537BE21F52F14FA6354C11AC57734FB___\


On Sun, 2003-06-01 at 21:21, James Marcinek wrote:


> 1.) You may try to remove the -lz or -lgz flag from the libs list
> by using the --libs switch for "perl Makefile.PL".
> 2.) On Red Hat Linux install libz-devel
> 3.) On other systems, please contact the mailing list
> 

> Can anyone help me out here?
> 
> Thanks,
> 
> James


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



Problems installing DBD::mysql for My SQL 4

2003-06-02 Thread James Marcinek
I know this isn't the perl list but I'm thinking that some one out there
has installed MySQL 4 on Red Hat 8. I couldn't upgrade from MySQL 3. I
tried to uninstall MySQL 3 but I had too many dependency errors. I keep
trying to install the necessary packages but I have a problem with the
DBD::mysql module with perl. This is preventing me from installing the
MySQL-MAX and the MySQL-SHARED rpms from the MySQL website. Here's what I
keep getting:

LD_RUN_PATH="/usr/lib/mysql:/usr/lib:/lib" /usr/bin/perl myld gcc  -shared
-L/usr/local/lib dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so  
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files
-lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status


An error occurred while linking the DBD::mysql driver. The error
message seems to indicate that you don't have a libz.a, libgz.a,
libz.so or libgz.so. This is typically resolved by:

1.) You may try to remove the -lz or -lgz flag from the libs list
by using the --libs switch for "perl Makefile.PL".
2.) On Red Hat Linux install libz-devel
3.) On other systems, please contact the mailing list

 [EMAIL PROTECTED]

For further hints, see INSTALL.html, section Linker flags.
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Can anyone help me out here?

Thanks,

James

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



Problems installing supper-smack

2003-03-04 Thread Simon Green
Hi
I am installing MySQL's supper-smack on Linux.
The problem is that it will not 'make'. It errors on two files 'die.cc' and
'gen_data.cc'.
If in add '#include ' to die.cc and '#include ' to
gen_data.cc in will 'make' and 'make install'.
But then will not work. It runs with out any errors but there is no output
and only thing that dose happen is data is added to the test table.

Can any one tell me what I have missed?

Thanks
Simon

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



Re: Red Hat 8.0 problems installing from source

2003-01-27 Thread Mark T. Dame
Duncan Maitland wrote:
> 
> I am installing MySQL 4.0.9 on a server running Red Hat 8.0 but am
> running into some showstoppers. I seem to have success compiling - no
> warnings are raised - but mysql_install_db will crash when installing
> the grant tables.
> 
> Initially I thought it may have been the hardware configuration (I
> have had some hardware and driver issues) however testing on other
> systems of different configurations end in the same result. Installing
> the binary distribution will work fine, but unfortunately I need to
> modify the stopword list in ft_static.c
> 
> Is anyone else experiencing these problems under Red Hat 8.0? I notice
> from mailing lists there are some known issues but these seem to be of
> a different nature to the ones I am experiencing.

I have the exact same problem.  The mysql server crashes immediately
after start up with the error you reported.  I didn't have time to
investigate, so I just installed the binaries, but I would prefer to
compile my own.  It runs fine on RedHat 7.3, so it probably has something
to do with gcc 3.2 or the glibc that you get with RedHat 8.0.  Mysql
version 3.23.x works fine under RedHat 8.0 and version 4.0.x works fine
on RedHat 7.3.


-m
-- 
## Mark T. Dame, Vice President, Internet Operations
## MFM Communication Software:  http://www.mfm.com/
## E-mail: mailto:[EMAIL PROTECTED]  WWW: http://www.mfm.com/~mdame/
"If you're not failing now and again, it's a sign you're playing it 
 safe."
 -- Woody Allen

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail 
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Red Hat 8.0 problems installing from source

2003-01-26 Thread Duncan Maitland
I am installing MySQL 4.0.9 on a server running Red Hat 8.0 but am running into some 
showstoppers. I seem to have success compiling - no warnings are raised - but 
mysql_install_db will crash when installing the grant tables.

Initially I thought it may have been the hardware configuration (I have had some 
hardware and driver issues) however testing on other systems of different 
configurations end in the same result. Installing the binary distribution will work 
fine, but unfortunately I need to modify the stopword list in ft_static.c

Is anyone else experiencing these problems under Red Hat 8.0? I notice from mailing 
lists there are some known issues but these seem to be of a different nature to the 
ones I am experiencing.



Here is my configure line:

./configure --prefix=/usr/local/mysql --localstatedir=/home/database/mysql 
--enable-assembler --disable-shared --with-mysqld-ldflags=-all-static 
--with-client-ldflags=-all-static --enable-thread-safe-client



Here is the output from mysql_install_db:

# ./scripts/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
sort_buffer_size=2097144
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225791 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x83b1720
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xbf5fea88, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x8088860
0x822b9b8
0x8242336
0x80980fd
0x809adde
0x8097f1c
0x80929c0
0x8226e0d
0x82629da
./scripts/mysql_install_db: line 1: 24876 Segmentation fault  
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables 
--basedir=/usr/local/mysql --datadir=/home/database/mysql --skip-innodb --skip-bdb
Installation of grant tables failed!



Here is some additional information from mysqlbug:

Release:mysql-4.0.9-gamma (Source distribution)
C compiler: gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
C++ compiler:   g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
System: Linux minime 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 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/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking 
--host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Compilation info: CC='gcc'  CFLAGS=''  CXX='g++'  CXXFLAGS=''  LDFLAGS=''  ASFLAGS=''
LIBC: 
lrwxrwxrwx1 root root   14 Jan 25 17:36 /lib/libc.so.6 -> 
libc-2.2.93.so
-rwxr-xr-x1 root root  1235468 Sep  5 23:12 /lib/libc-2.2.93.so
-rw-r--r--1 root root  2233342 Sep  5 22:59 /usr/lib/libc.a
-rw-r--r--1 root root  178 Sep  5 22:50 /usr/lib/libc.so
Configure command: ./configure '--prefix=/usr/local/mysql' 
'--localstatedir=/home/database/mysql' '--enable-assembler' '--disable-shared' 
'--with-mysqld-ldflags=-all-static' '--with-client-ldflags=-all-static' 
'--enable-thread-safe-client'



I hope this information is helpful to anyone who might be willing to have a look into 
this. If there is any other assistance I can provide please let me know.

Cheers,
Duncan
[EMAIL PROTECTED]

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing additional instances of mysql 4.0.x as a service

2003-01-11 Thread My Deja

I have been trying to install additional instances of
mysqld 4.0.x as a service on Windows 2000, but it
seems that only one set of parameters.

eg.

'mysqld --install connectionname --port=3307
--datadir=c:\mysql\datadir2' does not work  but 

mysqld --install connectionname --port=3307

and 

mysqld --install connectionname
--datadir=c:\mysql\datadir2

Is this a bug?

I am going to pass a customised options file
--defaults-file=c:/mydefaults to see if that will
work.

However I would prefer most of it to be on the command line.

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Problems installing mysql-max-3.23.53a linux binaries

2002-11-20 Thread Iago Sineiro
Thanks Lenz. Now, after modifying the init script, I don't get the advise.

Iago Sineiro.

> -Mensaje original-
> De: Lenz Grimmer [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles, 20 de noviembre de 2002 12:27
> Para: Iago Sineiro
> CC: MySql Mail List
> Asunto: Re: Problems installing mysql-max-3.23.53a linux binaries
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wednesday 20 November 2002 11:41, Iago Sineiro wrote:
>
> > I resolved the problem of starting mysql server changing permissions of
> > /tmp directory to permit user mysql write /tmp/mysql.sock.
> >
> > But when I start mysql server with /etc/init.d/mysql server start I get
> > error @HOSTNAME@.
> >
> > prototipo mysql # /etc/init.d/mysql.server start
> > /etc/init.d/mysql.server: @HOSTNAME@: command not found
> > prototipo mysql # Starting mysqld daemon with databases from
> > /usr/local/mysql/data
>
> Hmm, that's interesting. Seems like the build script did not replace this
> variable with the correct path to the "hostname" binary. For the
> time being,
> please replace "@HOSTNAME@" with "/bin/hostname".
>
> [SNIP]
>  then
> - -  pid_file=$datadir/`@HOSTNAME@`.pid
> +  pid_file=$datadir/`/bin/hostname`.pid
>  else
> [SNIP]
>
> Bye,
>   LenZ
> - --
> For technical support contracts, visit https://order.mysql.com/?ref=mlgr
>__  ___ ___   __
>   /  |/  /_ __/ __/ __ \/ /Mr. Lenz Grimmer <[EMAIL PROTECTED]>
>  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Production Engineer
> /_/  /_/\_, /___/\___\_\___/   Hamburg, Germany
><___/   www.mysql.com
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.0 (GNU/Linux)
>
> iD8DBQE923GZSVDhKrJykfIRAh+SAJ9RbPIJUZucM55fa6L9TdRBI2wAqwCdEofI
> hW/WYU3k48feRG3MyO7VbjU=
> =GCQu
> -END PGP SIGNATURE-
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing mysql-max-3.23.53a linux binaries

2002-11-20 Thread Lenz Grimmer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 20 November 2002 11:41, Iago Sineiro wrote:

> I resolved the problem of starting mysql server changing permissions of
> /tmp directory to permit user mysql write /tmp/mysql.sock.
>
> But when I start mysql server with /etc/init.d/mysql server start I get
> error @HOSTNAME@.
>
> prototipo mysql # /etc/init.d/mysql.server start
> /etc/init.d/mysql.server: @HOSTNAME@: command not found
> prototipo mysql # Starting mysqld daemon with databases from
> /usr/local/mysql/data

Hmm, that's interesting. Seems like the build script did not replace this 
variable with the correct path to the "hostname" binary. For the time being,
please replace "@HOSTNAME@" with "/bin/hostname".

[SNIP]
 then
- -  pid_file=$datadir/`@HOSTNAME@`.pid
+  pid_file=$datadir/`/bin/hostname`.pid
 else
[SNIP]

Bye,
LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Lenz Grimmer <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/   Hamburg, Germany
   <___/   www.mysql.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE923GZSVDhKrJykfIRAh+SAJ9RbPIJUZucM55fa6L9TdRBI2wAqwCdEofI
hW/WYU3k48feRG3MyO7VbjU=
=GCQu
-END PGP SIGNATURE-

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Problems installing mysql-max-3.23.53a linux binaries

2002-11-20 Thread Iago Sineiro
Hi all.

I resolved the problem of starting mysql server changing permissions of /tmp
directory to permit user mysql write /tmp/mysql.sock.

But when I start mysql server with /etc/init.d/mysql server start I get
error @HOSTNAME@.

prototipo mysql # /etc/init.d/mysql.server start
/etc/init.d/mysql.server: @HOSTNAME@: command not found
prototipo mysql # Starting mysqld daemon with databases from
/usr/local/mysql/data

Iago Sineiro.

> -Mensaje original-
> De: Iago Sineiro [mailto:[EMAIL PROTECTED]]
> Enviado el: miércoles, 20 de noviembre de 2002 10:37
> Para: MySql Mail List
> Asunto: Problems installing mysql-max-3.23.53a linux binaries
>
>
> Hi all.
>
> I've downloaded mysql-max-3.23.53a-pc-linux-gnu-i686.tar from
> www.mysql.com
> and tried to install it on a linux box.
>
> I followed the steps provided at
> http://www.mysql.com/doc/en/Installing_binary.html
>
> shell> groupadd mysql (Not really, I have
> a mysql group)
> shell> useradd -g mysql mysql (Not really, I have a mysql user)
> shell> cd /usr/local
> shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
> shell> ln -s full-path-to-mysql-VERSION-OS mysql
> shell> cd mysql
> shell> scripts/mysql_install_db
> shell> chown -R root  .
> shell> chown -R mysql data
> shell> chgrp -R mysql .
> shell> bin/safe_mysqld --user=mysql &
>
> When I execute bin/safe_mysqld --user=mysql &
>
> prototipo mysql # bin/safe_mysqld --user=mysql &
> [1] 948
> prototipo mysql # Starting mysqld daemon with databases from
> /usr/local/mysql/data
> 021120 12:49:15  mysqld ended
>
> If I look at mysql log:
>
> 021120 11:51:26  mysqld started
> 021120 11:51:26  Can't start server : Bind on unix socket:
> Permission denied
> 021120 11:51:26  Do you already have another mysqld server running on
> socket: /tmp/mysql.sock ?
> 021120 11:51:26  Aborting
>
> 021120 11:51:26  /usr/local/mysql/bin/mysqld: Shutdown Complete
>
> Also after copying a my.cnf configuration file from support-files to
> /etc/my.cnf and mysql.server to /etc/init.d/ if
> I execute /etc/init.d/mysql.server start I also get an error for variable
> @HOSTNAME and print-defaults:
>
> prototipo mysql # /etc/init.d/mysql.server start
> /etc/init.d/mysql.server: @HOSTNAME@: command not found
> prototipo mysql # Starting mysqld daemon with databases from
> /usr/local/mysql/data
> 021120 12:52:05  mysqld ended
>
> Iago Sineiro.
>
>
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing mysql-max-3.23.53a linux binaries

2002-11-20 Thread Iago Sineiro
Hi all.

I've downloaded mysql-max-3.23.53a-pc-linux-gnu-i686.tar from www.mysql.com
and tried to install it on a linux box.

I followed the steps provided at
http://www.mysql.com/doc/en/Installing_binary.html

shell> groupadd mysql   (Not really, I have a mysql group)
shell> useradd -g mysql mysql   (Not really, I have a mysql user)
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root  .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/safe_mysqld --user=mysql &

When I execute bin/safe_mysqld --user=mysql &

prototipo mysql # bin/safe_mysqld --user=mysql &
[1] 948
prototipo mysql # Starting mysqld daemon with databases from
/usr/local/mysql/data
021120 12:49:15  mysqld ended

If I look at mysql log:

021120 11:51:26  mysqld started
021120 11:51:26  Can't start server : Bind on unix socket: Permission denied
021120 11:51:26  Do you already have another mysqld server running on
socket: /tmp/mysql.sock ?
021120 11:51:26  Aborting

021120 11:51:26  /usr/local/mysql/bin/mysqld: Shutdown Complete

Also after copying a my.cnf configuration file from support-files to
/etc/my.cnf and mysql.server to /etc/init.d/ if
I execute /etc/init.d/mysql.server start I also get an error for variable
@HOSTNAME and print-defaults:

prototipo mysql # /etc/init.d/mysql.server start
/etc/init.d/mysql.server: @HOSTNAME@: command not found
prototipo mysql # Starting mysqld daemon with databases from
/usr/local/mysql/data
021120 12:52:05  mysqld ended

Iago Sineiro.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing on solaris 8

2002-10-23 Thread jfina
Hi!
I'm running on solaris 8 on 4xsparc (SunOs 5.8) and have tried to install mysql 3.23 
for solaris 2.8 for some days now. The first
problem is untar'ing mysql. I've tried to download the reccomended gnu tar but it 
seems like it hangs. I've tried to download the
gtar on sunsolaris homepage, its also not working - just writing spam on the screen.
Then I unzipped it in windows and zipped it again. That file unzipped successfully on 
solaris. BUT, when following the install
description in the manual i'm not able to run the scripts/mysql_install_db file. It 
just complain that the file does not exist, even
if it does. I've been wondering if i need to set the PATH or something, i tried to set 
the PATH to the bin directory - without luck.

Any ideas?

-Jon


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Problems installing Msql-Mysql-module in RedHat 7.2

2002-10-18 Thread Iago Sineiro
>Iago Sineiro wrote:
>> Hi all.
>>
>> I installed MySQL 4.0.4 in RedHat 7.2 using rpms. Also I installed
>> MySQL-bench rpm package, it saids it needs DBD-MySQL and I isntall it
with
>> parameter --nodeps.
>>
>maybe it need the mysql-devel package
>
>--
>frankie

mysql-devel package is installed.

This is the result when I look MySQL rpm packages installed:

[sixsl@panoramix scripts]$ rpm -qa | grep MySQL
MySQL-client-4.0.4-0
MySQL-4.0.4-0
MySQL-bench-4.0.4-0
MySQL-shared-4.0.4-0
MySQL-devel-4.0.4-0




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing Msql-Mysql-module in RedHat 7.2

2002-10-18 Thread Francesc Guasch
Iago Sineiro wrote:

Hi all.

I installed MySQL 4.0.4 in RedHat 7.2 using rpms. Also I installed
MySQL-bench rpm package, it saids it needs DBD-MySQL and I isntall it with
parameter --nodeps.


maybe it need the mysql-devel package

--
frankie


-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing Msql-Mysql-module in RedHat 7.2

2002-10-18 Thread Iago Sineiro
Hi all.

I installed MySQL 4.0.4 in RedHat 7.2 using rpms. Also I installed
MySQL-bench rpm package, it saids it needs DBD-MySQL and I isntall it with
parameter --nodeps.

So I try to install Mysql modules for Perl.

First I try with RedHat 7.2 rpm package but it didn't work. It needs
libmysqlclient.so.10. I create a symbolic link to libmysqlclient.so.11.0.0
but when I run the tests in benchmark suite I get 'Segmentation fault'.

After, I try with Mysql rpm package but it didn't work. When I run the
benchmark test this is the message I get:

[sixsl@panoramix sql-bench]$ ./run-all-tests
install_driver(mysql) failed: Can't load
'/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so' for
module DBD::mysql: libmysqlclient.so.10: no se puede abrir el fichero del
objeto compartido: No existe el fichero o el directorio at
/usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
 at (eval 49) line 3
Compilation failed in require at (eval 49) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /usr/share/sql-bench/server-cfg line 229

Then I compile Msql-Mysql-module downloaded at www.mysql.com and get the
same message.

Any help?

Thanks in advance

Iago.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing Msql-Mysql-module in RedHat 7.2

2002-10-18 Thread Iago Sineiro
Hi all.

I installed MySQL 4.0.4 in RedHat 7.2 using rpms. Also I installed
MySQL-bench rpm package, it saids it needs DBD-MySQL and I isntall it with
parameter --nodeps.

So I try to install Mysql modules for Perl.

First I try with RedHat 7.2 rpm package but it didn't work. It needs
libmysqlclient.so.10. I create a symbolic link to libmysqlclient.so.11.0.0
but when I run the tests in benchmark suite I get 'Segmentation fault'.

After, I try with Mysql rpm package but it didn't work. When I run the
benchmark test this is the message I get:

[sixsl@panoramix sql-bench]$ ./run-all-tests
install_driver(mysql) failed: Can't load
'/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so' for
module DBD::mysql: libmysqlclient.so.10: no se puede abrir el fichero del
objeto compartido: No existe el fichero o el directorio at
/usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
 at (eval 49) line 3
Compilation failed in require at (eval 49) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /usr/share/sql-bench/server-cfg line 229

Then I compile Msql-Mysql-module downloaded at www.mysql.com and get the
same message.

Any help?

Thanks in advance

Iago.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing on Solaris/Intel

2002-10-16 Thread Jesse Sheidlower

On Wed, Oct 16, 2002 at 10:15:43AM -0400, Ben Goodwin wrote:
> I've compiled and installed this on my Solaris8/Intel box a few times
> without a hitch.. I don't recall seeing what version of Solaris you're
> running.. ?

I'm running Solaris 8 with gcc 2.95.2.

> I also compiled with just ./configure - I didn't bother with the other
> options.. although that might be asking for trouble under certain
> circumstances...
> I don't have the source in front of me to check but I seem to recall being
> able to compile specifically withOUT curses support?  Is your ncurses
> library up to date?  Changing which curses libs to use won't affect this
> issue - the issue is a header/include problem, not a library problem.
> If that doesn't help, let me know and I'll try to suggest other things as
> well as check out my installation

I've finally managed to get past this by updating ncurses to 5.2 and
setting the -I flag to the CFLAGS and CXXFLAGS to point to the location
of the new ncurses. Now I've gotten past this but hit another error
that is even more mystifying:

---
creating thread_test
Making all in strings
gcc -c -o strings-x86.o strings-x86.s
Assembler:
"strings-x86.s", line 1 : Illegal mnemonic
"strings-x86.s", line 1 : Syntax error
"strings-x86.s", line 1 : Illegal mnemonic
"strings-x86.s", line 1 : Illegal mnemonic
[...]
"strings-x86.s", line 3 : Illegal mnemonic
Too many errors - Goodbye
*** Error code 1
make: Fatal error: Command failed for target `strings-x86.o'
Current working directory /usr/local/src/mysql-3.23.52/strings
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/mysql-3.23.52
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
---

I've looked for this error in various places and been unable to
find it.

Any ideas this time? And thanks again!

Jesse Sheidlower
sql, query

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing on Solaris/Intel

2002-10-16 Thread Ben Goodwin

I've compiled and installed this on my Solaris8/Intel box a few times
without a hitch.. I don't recall seeing what version of Solaris you're
running.. ?
I also compiled with just ./configure - I didn't bother with the other
options.. although that might be asking for trouble under certain
circumstances...
I don't have the source in front of me to check but I seem to recall being
able to compile specifically withOUT curses support?  Is your ncurses
library up to date?  Changing which curses libs to use won't affect this
issue - the issue is a header/include problem, not a library problem.
If that doesn't help, let me know and I'll try to suggest other things as
well as check out my installation

-=| Ben



Resending: sql,query




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing on Solaris/Intel

2002-10-15 Thread Jesse Sheidlower

On Tue, Oct 15, 2002 at 05:25:22PM -0400, Alan W. Rateliff, II wrote:
> 
> First, install gcc 3.2.  Then, check out this link (thanks to John
> Warburton):
> 
> http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:116929:200208:ngkbacmgkmgkdbbf
> gjdo
> 
> The line numbers are different as of the latest MySQL version, but modifying
> the configure script as shown (just search for some keyword using your
> favorite text editor) works like a charm, promise.

Though I did not install gcc 3.2, I did try everything in the
message above, and the result was exactly the same.

I would love to convince the powers that be that we should upgrade
this box to Linux, if not FreeBSD, but unfortunately I don't think
it'll be possible.

I do agree with the sentiment expressed in the message above that
the Manual should not say that it's simple to install on Solaris.

Any other suggestions still welcome, thanks to everyone for their
time.

Jesse Sheidlower

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing on Solaris/Intel

2002-10-15 Thread walt

On Tuesday 15 October 2002 05:07 pm, Jesse Sheidlower wrote:
> I did check out the link below, in which someone else has an
> error identical to mine, and Sinisa Milivojevic replied
> basically saying that the answer is described in detail in the
> Manual.
>
> Well, I can't find it in the Manual. There are things somewhat
> related in the various Solaris sections, and I've tried them,
> such as adding -DHAVE_CURSES_H to the CFLAGS and CXXFLAGS,
> adding /opt/sfw/lib to the LD_LIBRARY_PATH variable, and
> adding the flags suggested at the Solaris X86 section.
>
> None of these work; it always breaks in the same way at the
> same place.
>
> I appreciate that it's probably my ignorance that's preventing
> me from figuring this out, if it is indeed described so obviously
> in the Manual, but I've discussed it with someone who's very
> knowledgable about MySQL and he's stumped too. So I would be
> very grateful if anyone could explain to me what it is I'm
> missing.
>
> I seem not to have mentioned in my original post that I'm running
> gcc 2.95.2 and SunOS 5.8 on x86.
>
> Thank you.
>
> Jesse Sheidlower


2 things I'd look at in the manual.
MIT treads (pg 77 in the manual)
and pg 108

Before I over-wrote anything (pg 108), I'd diff the 2 files first and make a 
backup copy! If it works, you should be able to copy the old file back just 
to make sure you don't break any other apps after compiling mysql.

Good Luck!

P.S - I'd try to convince the powers that be to make the move to linux since 
you're running on Intel hardware. From what I understand, X86 Solaris is not 
the best in the world!

-- 
Walter Anthony
System Administrator
National Electronic Attachment
Atlanta, Georgia 
1-800-782-5150 ext. 1608
 "If it's not broketweak it"

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing on Solaris/Intel

2002-10-15 Thread Alan W. Rateliff, II

- Original Message -
From: "Jesse Sheidlower" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 5:07 PM
Subject: Re: Problems installing on Solaris/Intel


>
> I did check out the link below, in which someone else has an
> error identical to mine, and Sinisa Milivojevic replied
> basically saying that the answer is described in detail in the
> Manual.
>
> Well, I can't find it in the Manual. There are things somewhat
> related in the various Solaris sections, and I've tried them,
> such as adding -DHAVE_CURSES_H to the CFLAGS and CXXFLAGS,
> adding /opt/sfw/lib to the LD_LIBRARY_PATH variable, and
> adding the flags suggested at the Solaris X86 section.
>
> None of these work; it always breaks in the same way at the
> same place.
>
> I appreciate that it's probably my ignorance that's preventing
> me from figuring this out, if it is indeed described so obviously
> in the Manual, but I've discussed it with someone who's very
> knowledgable about MySQL and he's stumped too. So I would be
> very grateful if anyone could explain to me what it is I'm
> missing.
>
> I seem not to have mentioned in my original post that I'm running
> gcc 2.95.2 and SunOS 5.8 on x86.

First, install gcc 3.2.  Then, check out this link (thanks to John
Warburton):

http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:116929:200208:ngkbacmgkmgkdbbf
gjdo

The line numbers are different as of the latest MySQL version, but modifying
the configure script as shown (just search for some keyword using your
favorite text editor) works like a charm, promise.

Also, if you have crle configured already, you needn't worry about the
LD_LIBRARY_PATH variable.  I don't have it set on any of my boxen, and
everything runs peachy.

--
   Alan W. Rateliff, II:   RATELIFF.NET
 Independent Technology Consultant :[EMAIL PROTECTED]
  (Office) 850/350-0260:  (Mobile) 850/559-0100
-
[System Administration][IT Consulting][Computer Sales/Repair]



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing on Solaris/Intel

2002-10-15 Thread Jesse Sheidlower


I did check out the link below, in which someone else has an
error identical to mine, and Sinisa Milivojevic replied
basically saying that the answer is described in detail in the
Manual. 

Well, I can't find it in the Manual. There are things somewhat
related in the various Solaris sections, and I've tried them,
such as adding -DHAVE_CURSES_H to the CFLAGS and CXXFLAGS,
adding /opt/sfw/lib to the LD_LIBRARY_PATH variable, and
adding the flags suggested at the Solaris X86 section.

None of these work; it always breaks in the same way at the
same place.

I appreciate that it's probably my ignorance that's preventing
me from figuring this out, if it is indeed described so obviously
in the Manual, but I've discussed it with someone who's very
knowledgable about MySQL and he's stumped too. So I would be
very grateful if anyone could explain to me what it is I'm
missing.

I seem not to have mentioned in my original post that I'm running
gcc 2.95.2 and SunOS 5.8 on x86.

Thank you.

Jesse Sheidlower


On Tue, Oct 15, 2002 at 01:38:38PM -0400, walt wrote:
> Jesse Sheidlower wrote:
> 
> > I've been trying for a week to get MySQL installed on a Solaris
> > system running on Intel, not Sparc, and am rather at the end of
> > my line. I know almost nothing about the process of compiling
> > things, but various people have given me advice and I still can't
> > get it to work.
> >
> > All I want is a standard installation; I'd use a binary if there
> > were one available. I'm trying with 3.23.52, though I've tried
> > 4.0.4 with the same general results.
> >
> > When I try to compile MySQL, I get errors that look more or less
> > like this (after several minutes of OK churning):
> >
> > ---
> > Making all in client
> > gcc -DUNDEF_THREADS_HACK -I./../include 
>-I../include -I./.. -I..-I..-O3 -DDBUG_OFF -O3 
>-felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates 
>-fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/usr/local/src/mysql-3.23.52/include 
>-DHAVE_RWLOCK_T -c mysql.cc
> > In file included from mysql.cc:48:
> > /opt/sfw/include/curses.h:96: declaration does not declare anything
> > *** Error code 1
> > make: Fatal error: Command failed for target `mysql.o'
> > Current working directory /usr/local/src/mysql-3.23.52/client
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive'
> > Current working directory /usr/local/src/mysql-3.23.52
> > *** Error code 1
> > make: Fatal error: Command failed for target `all-recursive-am'
> > ---
> >
> > It always dies here, with some sort of curses-related problem.
> >
> > I run ./configure with these parameters, generally cribbed from
> > the Manual:
> >
> > ---
> > bash-2.03# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions 
>\
> > -fno-rtti" ./configure --prefix=/usr/local/src/mysql --enable-assembler \
> > --with-mysqld-ldflags=-all-static
> > ---
> >
> > I have also tried specifying the --with-named-curses-libs flag, assigning it
> > to many of the curses libraries on this system, including
> > /opt/sfw/lib/libncurses.(a|so), /usr/lib/libcurses.(a|so), and others, all
> > with the same results. I'm not, to be honest, even clear on what any of
> > these are; as said, I don't know any C and I don't know what any of these
> > compiler messages mean, what the libraries are, etc.
> >
> > I'd be grateful for any help anyone can give me. I've discussed this with
> > people who are knowledgable about MySQL and compiling in general, with no
> > luck, and I've checked the archives and can't find anything related.
> >
> > Thanks.
> >
> > Jesse Sheidlower
> > SQL, query
> >
> > -
> > Before posting, please check:
> >http://www.mysql.com/manual.php   (the manual)
> >http://lists.mysql.com/   (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> Jesse,
> Check out
> http://www.faqchest.com/prgm/mysql-l/mysql-00/mysql-0012/mysql00122707_12134.html
> and search for "curse"
> Found it using google
> 
> walt
> 
> 
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://li

Re: Problems installing on Solaris/Intel

2002-10-15 Thread walt

Jesse Sheidlower wrote:

> I've been trying for a week to get MySQL installed on a Solaris
> system running on Intel, not Sparc, and am rather at the end of
> my line. I know almost nothing about the process of compiling
> things, but various people have given me advice and I still can't
> get it to work.
>
> All I want is a standard installation; I'd use a binary if there
> were one available. I'm trying with 3.23.52, though I've tried
> 4.0.4 with the same general results.
>
> When I try to compile MySQL, I get errors that look more or less
> like this (after several minutes of OK churning):
>
> ---
> Making all in client
> gcc -DUNDEF_THREADS_HACK -I./../include -I../include 
>-I./.. -I..-I..-O3 -DDBUG_OFF -O3 
>-felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates 
>-fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/usr/local/src/mysql-3.23.52/include 
>-DHAVE_RWLOCK_T -c mysql.cc
> In file included from mysql.cc:48:
> /opt/sfw/include/curses.h:96: declaration does not declare anything
> *** Error code 1
> make: Fatal error: Command failed for target `mysql.o'
> Current working directory /usr/local/src/mysql-3.23.52/client
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/src/mysql-3.23.52
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
> ---
>
> It always dies here, with some sort of curses-related problem.
>
> I run ./configure with these parameters, generally cribbed from
> the Manual:
>
> ---
> bash-2.03# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions \
> -fno-rtti" ./configure --prefix=/usr/local/src/mysql --enable-assembler \
> --with-mysqld-ldflags=-all-static
> ---
>
> I have also tried specifying the --with-named-curses-libs flag, assigning it
> to many of the curses libraries on this system, including
> /opt/sfw/lib/libncurses.(a|so), /usr/lib/libcurses.(a|so), and others, all
> with the same results. I'm not, to be honest, even clear on what any of
> these are; as said, I don't know any C and I don't know what any of these
> compiler messages mean, what the libraries are, etc.
>
> I'd be grateful for any help anyone can give me. I've discussed this with
> people who are knowledgable about MySQL and compiling in general, with no
> luck, and I've checked the archives and can't find anything related.
>
> Thanks.
>
> Jesse Sheidlower
> SQL, query
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Jesse,
Check out
http://www.faqchest.com/prgm/mysql-l/mysql-00/mysql-0012/mysql00122707_12134.html
and search for "curse"
Found it using google

walt


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing on Solaris/Intel

2002-10-15 Thread Jesse Sheidlower


I've been trying for a week to get MySQL installed on a Solaris
system running on Intel, not Sparc, and am rather at the end of 
my line. I know almost nothing about the process of compiling
things, but various people have given me advice and I still can't
get it to work.

All I want is a standard installation; I'd use a binary if there
were one available. I'm trying with 3.23.52, though I've tried
4.0.4 with the same general results.

When I try to compile MySQL, I get errors that look more or less
like this (after several minutes of OK churning):

---
Making all in client
gcc -DUNDEF_THREADS_HACK -I./../include -I../include 
-I./.. -I..-I..-O3 -DDBUG_OFF -O3 
-felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates 
-fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/usr/local/src/mysql-3.23.52/include 
-DHAVE_RWLOCK_T -c mysql.cc
In file included from mysql.cc:48:
/opt/sfw/include/curses.h:96: declaration does not declare anything
*** Error code 1
make: Fatal error: Command failed for target `mysql.o'
Current working directory /usr/local/src/mysql-3.23.52/client
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/mysql-3.23.52
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
---

It always dies here, with some sort of curses-related problem.

I run ./configure with these parameters, generally cribbed from
the Manual:

---
bash-2.03# CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions \
-fno-rtti" ./configure --prefix=/usr/local/src/mysql --enable-assembler \ 
--with-mysqld-ldflags=-all-static 
---

I have also tried specifying the --with-named-curses-libs flag, assigning it
to many of the curses libraries on this system, including 
/opt/sfw/lib/libncurses.(a|so), /usr/lib/libcurses.(a|so), and others, all
with the same results. I'm not, to be honest, even clear on what any of
these are; as said, I don't know any C and I don't know what any of these
compiler messages mean, what the libraries are, etc.

I'd be grateful for any help anyone can give me. I've discussed this with
people who are knowledgable about MySQL and compiling in general, with no
luck, and I've checked the archives and can't find anything related.

Thanks.

Jesse Sheidlower
SQL, query

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: problems installing 3.23.51 on BSDI 4.0.1

2002-07-03 Thread jesse

Any clues? Anyone? I'm stumped here guys.

On 2 Jul 2002 at 18:00, [EMAIL PROTECTED] wrote:

> Hi.
> 
> I am trying to install MySQL on BSDI BSD/OS 4.0.1 Kernel #3.
> 
> Processor: Cpu-1 = Pentium III (448 MHz) GenuineIntel mdl 7 step 2 type 0, feat 
> 387fbff
> 
> Ram: 128M
> 
> I configured using:
> 
> CC=gcc CXX=gcc CXXFLAGS=-O ./configure --prefix=/usr/local/mysql --with-extra-
> charsets=complex
> 
> and ran "make". My compiler is GNU gcc.
> 
> My error is as follows:
> 
> 
> gcc -DUNDEF_THREADS_HACK -I./../include -I../include 
>-I./.. -
> I..-I..-O3 -DDBUG_OFF -O  
>-fno-implicit-templates -fno-
> exceptions -fno-rtti -c mysql.cc
> cc1plus: Invalid option `-fno-exceptions'
> In file included from client_priv.h:19,
>  from mysql.cc:28:
> ../include/global.h:686: warning: abstract declarator used as declaration
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> Exit 1
> 
> 
> 
> Any suggestions?
> 
> -- 
> Jesse Guardiani, Systems Administrator
> WingNET Internet Services
> 
> 
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




problems installing 3.23.51 on BSDI 4.0.1

2002-07-02 Thread jesse

Hi.

I am trying to install MySQL on BSDI BSD/OS 4.0.1 Kernel #3.

Processor: Cpu-1 = Pentium III (448 MHz) GenuineIntel mdl 7 step 2 type 0, feat 
387fbff

Ram: 128M

I configured using:

CC=gcc CXX=gcc CXXFLAGS=-O ./configure --prefix=/usr/local/mysql --with-extra-
charsets=complex

and ran "make". My compiler is GNU gcc.

My error is as follows:


gcc -DUNDEF_THREADS_HACK -I./../include -I../include 
-I./.. -
I..-I..-O3 -DDBUG_OFF -O  -fno-implicit-templates 
-fno-
exceptions -fno-rtti -c mysql.cc
cc1plus: Invalid option `-fno-exceptions'
In file included from client_priv.h:19,
 from mysql.cc:28:
../include/global.h:686: warning: abstract declarator used as declaration
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
Exit 1



Any suggestions?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing MySQL on FreeBSD 4.5

2002-02-15 Thread Ken Menzel

Hi Darrin,
  This is very starnge as I just installed two FreeBSD 4.5 machines
this week and had no problems!  I installed on SMP based machines,
with very few changes from the GENERIC kernel.  Is this a fresh
install of FreeBSD 4.5?  If not can you run a 'make world' and 'make
kernel' again?  Did you run mergemaster after the upgrade (if it was
an upgrade)?  Is there anything unusla about you install?

Ken
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 15, 2002 9:43 AM
Subject: Problems installing MySQL on FreeBSD 4.5


> >Description:
> When trying to install MySQLi 3.23.47 and 3.23.48 on FreeBSD 4.5, We
get the following errors
> during the mysql_install_db.
>
> /usr/local/bin/mysql_install_db
> Preparing db table
> Preparing host table
> Preparing user table
> Preparing func table
> Preparing tables_priv table
> Preparing columns_priv table
> Installing all prepared tables
> Fatal error 'Can't create gc thread' at line ? in file
/usr/src/lib/libc_r/uthread/uthread_create.c (errno = ?)
> Abort trap - core dumped
> Installation of grant tables failed!
>
> We've tried this on multiple hosts running 4.5, and received the
same problem.  On a machine running 4.4, installation
> works fine.
>
> >How-To-Repeat:
>
> Get a machine with a new install (or cvsup'd install) of FreeBSD
4.5.  Try installing from ports.
>
>
> >Submitter-Id: 
> >Originator: Darrin Walton
> >MySQL support: [none]
> >Synopsis: Problems installing MySQL on FreeBSD 4.5
> >Severity:
> >Priority:
> >Category: mysql
> >Class:
> >Release: mysql-3.23.47 (FreeBSD port: mysql-server-3.23.47)
>
> >Environment:
>
> System: FreeBSD distrust.routing.org 4.5-RC FreeBSD 4.5-RC #3: Fri
Jan 18 16:37:48 EST 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/DISTRUST  i386
>
>
> Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake
/usr/bin/gcc /usr/bin/cc
> GCC: Using builtin specs.
> gcc version 2.95.3 20010315 (release) [FreeBSD]
> Compilation info: CC='cc'  CFLAGS='-O2 -pipe -march=pentiumpro'
CXX='cc'

CXXFLAGS='-O2 -pipe -march=pentiumpro -felide-constructors -fno-rtti -
fno-exceptions'  LDFLAGS=''
> LIBC:
> -r--r--r--  1 root  wheel  1223438 Jan 16 02:12 /usr/lib/libc.a
> lrwxr-xr-x  1 root  wheel  9 Jan 16 02:12 /usr/lib/libc.so ->
libc.so.4
> -r--r--r--  1 root  wheel  595712 Jan 16 02:12 /usr/lib/libc.so.4
> Configure command:
./configure  --localstatedir=/var/db/mysql --without-perl --without-de
bug --without-readline --without-bench --with-mit-threads=no --with-li
bwrap --with-low-memory '--with-comment=FreeBSD port:
mysql-server-3.23.47' --enable-assembler --with-berkeley-db --with-inn
odb --prefix=/usr/local i386--freebsd4.5
> Perl: This is perl, version 5.005_03 built for i386-freebsd
>
> 
-
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing MySQL on FreeBSD 4.5

2002-02-15 Thread darrinw

>Description:
When trying to install MySQLi 3.23.47 and 3.23.48 on FreeBSD 4.5, We get the 
following errors
during the mysql_install_db. 

/usr/local/bin/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
Fatal error 'Can't create gc thread' at line ? in file 
/usr/src/lib/libc_r/uthread/uthread_create.c (errno = ?)
Abort trap - core dumped
Installation of grant tables failed!

We've tried this on multiple hosts running 4.5, and received the same problem.  On a 
machine running 4.4, installation
works fine.  

>How-To-Repeat:

Get a machine with a new install (or cvsup'd install) of FreeBSD 4.5.  Try installing 
from ports.


>Submitter-Id:  
>Originator:Darrin Walton
>MySQL support: [none]
>Synopsis:  Problems installing MySQL on FreeBSD 4.5
>Severity:  
>Priority:  
>Category:  mysql
>Class: 
>Release:   mysql-3.23.47 (FreeBSD port: mysql-server-3.23.47)

>Environment:

System: FreeBSD distrust.routing.org 4.5-RC FreeBSD 4.5-RC #3: Fri Jan 18 16:37:48 EST 
2002 [EMAIL PROTECTED]:/usr/src/sys/compile/DISTRUST  i386


Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
Compilation info: CC='cc'  CFLAGS='-O2 -pipe -march=pentiumpro'  CXX='cc'  
CXXFLAGS='-O2 -pipe -march=pentiumpro -felide-constructors -fno-rtti -fno-exceptions'  
LDFLAGS=''
LIBC: 
-r--r--r--  1 root  wheel  1223438 Jan 16 02:12 /usr/lib/libc.a
lrwxr-xr-x  1 root  wheel  9 Jan 16 02:12 /usr/lib/libc.so -> libc.so.4
-r--r--r--  1 root  wheel  595712 Jan 16 02:12 /usr/lib/libc.so.4
Configure command: ./configure  --localstatedir=/var/db/mysql --without-perl 
--without-debug --without-readline --without-bench --with-mit-threads=no 
--with-libwrap --with-low-memory '--with-comment=FreeBSD port: mysql-server-3.23.47' 
--enable-assembler --with-berkeley-db --with-innodb --prefix=/usr/local 
i386--freebsd4.5
Perl: This is perl, version 5.005_03 built for i386-freebsd

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Problems installing mysql-4.0-alpha on my Redhat

2001-12-13 Thread Wai Lee

Hi,

It happens to me, just make sure you are not using any symbolic link, when I try to 
use symbolic link to mysql 4.0.0-aplha and it won't work. In my case, I just do "mv 
mysql-4.0.0-alpha-pc-linux-gnu-i686 mysql" and it works.

Wai Lee
Zeborg Inc.

-Original Message-
From: Carl Troein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 6:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems installing mysql-4.0-alpha on my Redhat



Nilesh Parmar writes:

> I get the following messages on the console.
> [1] 28102
> $ starting mysql daemon with databases from /var/lib/mysql
> 011213 :16:56:43 mysqld ended
> 
>   I've not idea why do I get the message "mysqld ended".

Because it did. You'll have to look in the log file to find out
why. Make sure you've taken all the steps necessary for
installation, such as setting the right owner for the data
directory and running mysql_install_db

> Error 2002: Can't connect to MySQL server through socket
> /var/lib/mysql/mysql.sock.

Well, since the server fails to start that error is to be expected.

//C

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing mysql-4.0-alpha on my Redhat

2001-12-13 Thread Carl Troein


Nilesh Parmar writes:

> I get the following messages on the console.
> [1] 28102
> $ starting mysql daemon with databases from /var/lib/mysql
> 011213 :16:56:43 mysqld ended
> 
>   I've not idea why do I get the message "mysqld ended".

Because it did. You'll have to look in the log file to find out
why. Make sure you've taken all the steps necessary for
installation, such as setting the right owner for the data
directory and running mysql_install_db

> Error 2002: Can't connect to MySQL server through socket
> /var/lib/mysql/mysql.sock.

Well, since the server fails to start that error is to be expected.

//C

-- 
 Carl Troein - Círdan / Istari-PixelMagic - UIN 16353280
 [EMAIL PROTECTED] | http://pixelmagic.dyndns.org/~cirdan/
 Amiga user since '89, and damned proud of it too.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing mysql-4.0-alpha on my Redhat

2001-12-13 Thread Nilesh Parmar

Hi All,
  I'm trying to install mysql-4.0.0-alpha on my RedHat 7.1 linux box and
somehow it's just not working. I follow all the instructions in the
INSTALL-SOURCE file but I get some weird errors like these when I try to
start mysql.

Initially when i try to run the server by giving the command
$ /usr/local/mysql/bin/mysqld_safe &
I get the following messages on the console.
[1] 28102
$ starting mysql daemon with databases from /var/lib/mysql
011213 :16:56:43 mysqld ended

  I've not idea why do I get the message "mysqld ended".

 When I try to start mysql by typing "mysql" at the command prompt I get the
following error:


Error 2002: Can't connect to MySQL server through socket
/var/lib/mysql/mysql.sock.

 I've tried the installation about 2-3 times but i get the same messages all
the time.
Can anyone help me please :-(
Thanks in advance.
Nilesh












-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Help! problems installing mysql-client and mysql-devel rpms on RedHat

2001-08-22 Thread Grigory Bakunov

Date |Tue, 21 Aug 2001 13:33:18 -0700
>From |"Steve Vu" <[EMAIL PROTECTED]>

Hello!

SV> I downloaded the MySQL-client and MySQL-devel rpms but get the following
SV> errors (I was able to install MySQL from a tarball):

SV> [root@localhost svu]# rpm -U *.rpm

SV> error: MySQL-client-3.23.40-1.i386.rpm cannot be installed
SV> error: MySQL-devel-3.23.40-1.i386.rpm cannot be installed

SV> [root@localhost svu]# rpm -V *.rpm

SV> error: cannot get shared lock on /var/lib/rpm/Packages
SV> error: cannot open Packages index using db3 - Operation not permitted (1)
SV> error: cannot get shared lock on /var/lib/rpm/Packages


SV> Any ideas on what the shared lock message means.  Permission issues?

You need to check what process use rpm base in /var/lib/rpm.
For exampe you can use 'fuser' command.
___
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Grigory Bakunov <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB / SWSoft
/_/  /_/\_, /___/\___\_\___/
   <___/   www.mysql.com


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Help! problems installing mysql-client and mysql-devel rpms on RedHat

2001-08-21 Thread Steve Vu

I downloaded the MySQL-client and MySQL-devel rpms but get the following
errors (I was able to install MySQL from a tarball):

[root@localhost svu]# rpm -U *.rpm

error: MySQL-client-3.23.40-1.i386.rpm cannot be installed
error: MySQL-devel-3.23.40-1.i386.rpm cannot be installed

[root@localhost svu]# rpm -V *.rpm

error: cannot get shared lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot get shared lock on /var/lib/rpm/Packages


Any ideas on what the shared lock message means.  Permission issues?


Thanks,
Steve


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing mysql3.23.41 source version

2001-08-17 Thread Sinisa Milivojevic

sachin shetty writes:
> Hello
> I get the following error message when i complie the source version of
> mysql3.23.41.
> 
> checking character sets... configure: error: No number was found in
> ./sql/share/charsets/Index for the latin1 character set.  This is a bug in
> the MySQL distribution.  Please report this message to
> [EMAIL PROTECTED]
> 
> Is there something amiss in the source distribution or is there something
> else to it
> 
> 
> Thanks in advance
> 
> Sachin
> 

What GNU make, automake, autoconf  versions do you use and what
compiler do you use ??

-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   <___/   www.mysql.com


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing mysql3.23.41 source version

2001-08-16 Thread sachin shetty

Hello
I get the following error message when i complie the source version of
mysql3.23.41.

checking character sets... configure: error: No number was found in
./sql/share/charsets/Index for the latin1 character set.  This is a bug in
the MySQL distribution.  Please report this message to
[EMAIL PROTECTED]

Is there something amiss in the source distribution or is there something
else to it


Thanks in advance

Sachin


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing under solaris 2.5.1 ... Fixed

2001-07-16 Thread Colin Faber

Not a problem, glad I could assist you. Yeah I've ended up running into 
major problems with the packages my self on older versions of solaris
running on newer hardware. Hopefully the maintainer will upgrade his/her
hardware at some point. Anyone want to donate? ;-)



"[EMAIL PROTECTED]" wrote:
> 
> Hi Colin:
> 
> I once again want to thank you for the info. I had indeed installed a
> 'package' gcc compiler from sunfreeware. I followed your advice and I
> downloaded gcc 2.95.3 source and compiled it on the machine that I was
> trying to install mysql and sure enough I got it compiled. This would surely
> add weight to your argument as to why it failed ... perhaps the people who
> used the packaged compilers and got it to work was indeed using the same
> machine that sunfreeware used to create the package.
> 
> You certainly pointed me in the right direction and saved me a LOT of
> frustration.
> 
> Best regards
> Imran.
> 
> - Original Message -
> From: "Colin Faber" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, July 15, 2001 10:01 PM
> Subject: Re: Problems installing under solaris 2.5.1
> 
> > You need to make sure that the gcc on your box is build on that box,
> > Using a package won't do it, most of them where compiled on greater or
> > lesser hardware versions than you might be running, This in turn causes
> > the compiler it self to think that its running in cross-compile mode
> > and mysql won't allow a cross compile(er) build.
> >
> >
> >
> > Martin Cameron wrote:
> > >
> > > Shouldn't it be ./configure --prefix=/usr/local/mysql
> > >
> > > On Mon, 16 Jul 2001 12:44, you wrote:
> > > > I am trying to compile mysql by it is failing in the ./configure step.
> I am
> > > > running solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the
> > > > following error
> > > >
> > > > ./configure -prefix=/usr/local/mysql
> > > > .
> > > > .
> > > >
> > > > loading cache ./config.cache
> > > > checking for a BSD compatible install... ./install-sh -c
> > > > checking for bison... no
> > > > checking for byacc... no
> > > > checking for pdftex... no
> > > > checking return type of sprintf... configure: error: can not run test
> > > > program while cross compiling
> > > >
> > > > any help would be greatly appreciated.
> > > >
> > > > regards
> > > > Imran.
> > >
> 
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing under solaris 2.5.1 ... Fixed

2001-07-16 Thread [EMAIL PROTECTED]

Hi Colin:

I once again want to thank you for the info. I had indeed installed a
'package' gcc compiler from sunfreeware. I followed your advice and I
downloaded gcc 2.95.3 source and compiled it on the machine that I was
trying to install mysql and sure enough I got it compiled. This would surely
add weight to your argument as to why it failed ... perhaps the people who
used the packaged compilers and got it to work was indeed using the same
machine that sunfreeware used to create the package.

You certainly pointed me in the right direction and saved me a LOT of
frustration.

Best regards
Imran.

- Original Message -
From: "Colin Faber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 10:01 PM
Subject: Re: Problems installing under solaris 2.5.1


> You need to make sure that the gcc on your box is build on that box,
> Using a package won't do it, most of them where compiled on greater or
> lesser hardware versions than you might be running, This in turn causes
> the compiler it self to think that its running in cross-compile mode
> and mysql won't allow a cross compile(er) build.
>
>
>
> Martin Cameron wrote:
> >
> > Shouldn't it be ./configure --prefix=/usr/local/mysql
> >
> > On Mon, 16 Jul 2001 12:44, you wrote:
> > > I am trying to compile mysql by it is failing in the ./configure step.
I am
> > > running solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the
> > > following error
> > >
> > > ./configure -prefix=/usr/local/mysql
> > > .
> > > .
> > >
> > > loading cache ./config.cache
> > > checking for a BSD compatible install... ./install-sh -c
> > > checking for bison... no
> > > checking for byacc... no
> > > checking for pdftex... no
> > > checking return type of sprintf... configure: error: can not run test
> > > program while cross compiling
> > >
> > > any help would be greatly appreciated.
> > >
> > > regards
> > > Imran.
> >



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing under solaris 2.5.1

2001-07-15 Thread Alan W. Rateliff, II

On 16-Jul-01, Colin Faber said something totally profound about Re: Problems 
installing under solaris 2.5.1 that made me ponder...

CF> You need to make sure that the gcc on your box is build on that box, 
CF> Using a package won't do it, most of them where compiled on greater or 
CF> lesser hardware versions than you might be running, This in turn causes 
CF> the compiler it self to think that its running in cross-compile mode 
CF> and mysql won't allow a cross compile(er) build.

I've been using gcc packages from SunFreeware.com for the last couple of
years.  I've not run into this problem yet.  I have also always kept my
version of gcc recent, and have had no problems compiling, installing, or
running MySQL binaries created by gcc v3.0.

However, this question (installation problems on Solaris with the "cross
compile" error message) has been asked and answered on this list NUMEROUS times.  To 
quote every message on this list:

"Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)"

[snip]

CF>>> 
CF>>> loading cache ./config.cache
CF>>> checking for a BSD compatible install... ./install-sh -c
CF>>> checking for bison... no
CF>>> checking for byacc... no
CF>>> checking for pdftex... no
CF>>> checking return type of sprintf... configure: error: can not run test
CF>>> program while cross compiling

You don't have bison, which is recommended, although off the top of my head I
can't remember where I read that.

I've been using the instructions detailed on my page below for quite some time
now, without incident.  The source of the page details from where I compiled the 
information.  Please keep in mind that that is a bare minimum install, and you may 
have other options you wish to use.

< http://users.talstar.com/forager/MySQL-HOWTO.html >

This has worked for SPARC Solaris 2.4, 2.5.1, 2.6, and 7, as well as Intel
Solaris 7 and 8.

Good luck.
-- 
   Alan W. Rateliff, II: YourVillage.com
  Assistant Systems Administrator  :   2700 Apalachee Pkwy
 < [EMAIL PROTECTED] >  :  Tallahassee, FL 32301
(850) 942-7021---
< [EMAIL PROTECTED] >< http://support.yourvillage.com >


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing under solaris 2.5.1

2001-07-15 Thread Colin Faber

You need to make sure that the gcc on your box is build on that box, 
Using a package won't do it, most of them where compiled on greater or 
lesser hardware versions than you might be running, This in turn causes 
the compiler it self to think that its running in cross-compile mode 
and mysql won't allow a cross compile(er) build.



Martin Cameron wrote:
> 
> Shouldn't it be ./configure --prefix=/usr/local/mysql
> 
> On Mon, 16 Jul 2001 12:44, you wrote:
> > I am trying to compile mysql by it is failing in the ./configure step. I am
> > running solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the
> > following error
> >
> > ./configure -prefix=/usr/local/mysql
> > .
> > .
> >
> > loading cache ./config.cache
> > checking for a BSD compatible install... ./install-sh -c
> > checking for bison... no
> > checking for byacc... no
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling
> >
> > any help would be greatly appreciated.
> >
> > regards
> > Imran.
> 
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems installing under solaris 2.5.1

2001-07-15 Thread Martin Cameron

Shouldn't it be ./configure --prefix=/usr/local/mysql

On Mon, 16 Jul 2001 12:44, you wrote:
> I am trying to compile mysql by it is failing in the ./configure step. I am
> running solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the
> following error
>
> ./configure -prefix=/usr/local/mysql
> .
> .
>
> loading cache ./config.cache
> checking for a BSD compatible install... ./install-sh -c
> checking for bison... no
> checking for byacc... no
> checking for pdftex... no
> checking return type of sprintf... configure: error: can not run test
> program while cross compiling
>
> any help would be greatly appreciated.
>
> regards
> Imran.

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing under solaris 2.5.1

2001-07-15 Thread [EMAIL PROTECTED]

I am trying to compile mysql by it is failing in the ./configure step. I am running 
solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the following error 

./configure -prefix=/usr/local/mysql
.
.

loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking for bison... no
checking for byacc... no
checking for pdftex... no
checking return type of sprintf... configure: error: can not run test program while 
cross compiling

any help would be greatly appreciated.

regards
Imran.



Re: Problems Installing MySQL

2001-07-05 Thread Steve Brazill

Oh,  and if you're going to use this system as a server for
intranet/internet resources,  why do you have a Win98 drive installed ??
You won't be able to use it if you're going to keep the system up, running
Linux...

- Original Message -
From: "Steve Brazill" <[EMAIL PROTECTED]>
To: "Gavin Phillips-Page" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 11:06 AM
Subject: Re: Problems Installing MySQL


> You shouldn't place the actual 'RPM's in "/usr/local/mysql" (/tmp would
> probably be a better place).  I don't think that you have any control over
> the installation location when using the RPM technique...
>
> I am attaching my 'webdocs' on setting up a RedHat Linux system, including
> the installation and configuration of Apache/PHP/MySQL.   Though the
'docs'
> refer to RedHat 6.2,  the installation instructions are the same (I have
> just built 2 RedHat 7.1 systems without any problems...)
>
> If you're going to do any 'real' work with PHP and MySQL, you'll want to
> install and build the 'source' packages of each product (as apposed to the
> RPM technique that you have attempted to use).  My 'docs' instruct you how
> to install the 'source' distributions of each package...
>
> Since you seletect the 'workstation' type of RedHat install,  there might
be
> some packages missing that you'll need to compile each product.
>
> Good Luck...
>
> - Original Message -
> From: "Gavin Phillips-Page" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 05, 2001 3:51 AM
> Subject: Problems Installing MySQL
>
>
> We have installed the Red Hat Linux 7.1 Deluxe Edition on a Pentium III PC
> (450MHZ) with 128MB RAM. We installed the Workstation option. The OS is
> Windows 98 Millennium Edition. There are 2 Hard Drives. The 6GB Drive has
> Windows 98 Millennium Edition installed. The 4GB Drive has the Red Hat
Linux
> 7.1 Deluxe Edition installed.
>
> We would like to create databases in MySQL and use PHP scripting to enable
> the apache web server to provide access to the database via an intranet or
> the internet.
>
> Initially we selected MySQL to be installed during the Red Hat Linux
> installation. When we ran the ³mysqladmin ­u root ping² command we
received
> an error message stating that the MySQL Daemon did not start.
> We then ran ³./bin/safe_mysqld Daemon, but we still could not launch
MySQL.
>
> We contacted Red Hat Support and they pointed us to your site where we
> printed out ³Installing MySQL². However we are still having problems with
> the installation.
>
> 1. We created a Directory /usr/local/mysql and copied the following files
> from the Red Hat Linux 7.1 CD to the /usr/local/mysql Directory:
> mysql-3.23.36.1.i386.rpm : mysql-devel-3.23.36.1.i386.rpm
> :mysql-3.23.36.1.i386.rpm : mysqlclient9-3.23.22.4.i386.rpm :
> mysqlserver-3.23.36.1.i386.rpm
> 2. We then ran the rpm ­i MySQL-VERSION.i386.rpm
> MySQL-client-VERSION.i386.rpm Command from the /usr/local/mysql Directory
> and received an error message that the file did not exist.
> 3. We then ran the rpm ­i mysql-3.23.36.1.i386.rpm
> mysqlclient9-3.23.22.4.i386.rpm Command from the /usr/local/mysql
Directory.
> Something happened, but the var/lib/mysql Directory was not created.
>
> Could you please help with the installation. Can we make MySQL accessible
> via the KDE main menu if the installation is successful?
>
> Best regards
>
> Gavin Phillips-Page
>
>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems Installing MySQL

2001-07-05 Thread Gavin Phillips-Page

We have installed the Red Hat Linux 7.1 Deluxe Edition on a Pentium III PC
(450MHZ) with 128MB RAM. We installed the Workstation option. The OS is
Windows 98 Millennium Edition. There are 2 Hard Drives. The 6GB Drive has
Windows 98 Millennium Edition installed. The 4GB Drive has the Red Hat Linux
7.1 Deluxe Edition installed.

We would like to create databases in MySQL and use PHP scripting to enable
the apache web server to provide access to the database via an intranet or
the internet.

Initially we selected MySQL to be installed during the Red Hat Linux
installation. When we ran the ³mysqladmin ­u root ping² command we received
an error message stating that the MySQL Daemon did not start.
We then ran ³./bin/safe_mysqld ‹user=mysql &² command which started the
Daemon, but we still could not launch MySQL.

We contacted Red Hat Support and they pointed us to your site where we
printed out ³Installing MySQL². However we are still having problems with
the installation.

1. We created a Directory /usr/local/mysql and copied the following files
from the Red Hat Linux 7.1 CD to the /usr/local/mysql Directory:
mysql-3.23.36.1.i386.rpm : mysql-devel-3.23.36.1.i386.rpm
:mysql-3.23.36.1.i386.rpm : mysqlclient9-3.23.22.4.i386.rpm :
mysqlserver-3.23.36.1.i386.rpm
2. We then ran the rpm ­i MySQL-VERSION.i386.rpm
MySQL-client-VERSION.i386.rpm Command from the /usr/local/mysql Directory
and received an error message that the file did not exist.
3. We then ran the rpm ­i mysql-3.23.36.1.i386.rpm
mysqlclient9-3.23.22.4.i386.rpm Command from the /usr/local/mysql Directory.
Something happened, but the var/lib/mysql Directory was not created.

Could you please help with the installation. Can we make MySQL accessible
via the KDE main menu if the installation is successful?

Best regards

Gavin Phillips-Page



Problems Installing MySQL

2001-07-05 Thread Gavin Phillips-Page

We have installed the Red Hat Linux 7.1 Deluxe Edition on a Pentium III PC
(450MHZ) with 128MB RAM. We installed the Workstation option. The OS is
Windows 98 Millennium Edition. There are 2 Hard Drives. The 6GB Drive has
Windows 98 Millennium Edition installed. The 4GB Drive has the Red Hat Linux
7.1 Deluxe Edition installed.

We would like to create databases in MySQL and use PHP scripting to enable
the apache web server to provide access to the database via an intranet or
the internet.

Initially we selected MySQL to be installed during the Red Hat Linux
installation. When we ran the ³mysqladmin ­u root ping² command we received
an error message stating that the MySQL Daemon did not start.
We then ran ³./bin/safe_mysqld ‹user=mysql &² command which started the
Daemon, but we still could not launch MySQL.

We contacted Red Hat Support and they pointed us to your site where we
printed out ³Installing MySQL². However we are still having problems with
the installation.

1. We created a Directory /usr/local/mysql and copied the following files
from the Red Hat Linux 7.1 CD to the /usr/local/mysql Directory:
mysql-3.23.36.1.i386.rpm : mysql-devel-3.23.36.1.i386.rpm
:mysql-3.23.36.1.i386.rpm : mysqlclient9-3.23.22.4.i386.rpm :
mysqlserver-3.23.36.1.i386.rpm
2. We then ran the rpm ­i MySQL-VERSION.i386.rpm
MySQL-client-VERSION.i386.rpm Command from the /usr/local/mysql Directory
and received an error message that the file did not exist.
3. We then ran the rpm ­i mysql-3.23.36.1.i386.rpm
mysqlclient9-3.23.22.4.i386.rpm Command from the /usr/local/mysql Directory.
Something happened, but the var/lib/mysql Directory was not created.

Could you please help with the installation. Can we make MySQL accessible
via the KDE main menu if the installation is successful?

Best regards

Gavin Phillips-Page



Re: Problems installing Msql-Mysql-modules

2001-07-03 Thread Gerald Clark

You are missing libz.

Vien Huynhle wrote:

> href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\">
> This is what I have done
> 
>  
> 
> [root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL
> Which drivers do you want to install?
> 
>  
> 
> 1)  MySQL only
> 2)  mSQL only (either of mSQL 1 or mSQL 2)
> 3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
> 
>  
> 
> 4)  mSQL 1 and mSQL 2
> 5)  MySQL, mSQL 1 and mSQL 2
> 
>  
> 
> Enter the appropriate number:  [3] q^H1
> Checking if your kit is complete...
> Looks good
> 
>  
> 
> [root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL
> Which drivers do you want to install?
> 
>  
> 
> 1)  MySQL only
> 2)  mSQL only (either of mSQL 1 or mSQL 2)
> 3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
> 
>  
> 
> 4)  mSQL 1 and mSQL 2
> 5)  MySQL, mSQL 1 and mSQL 2
> 
>  
> 
> Enter the appropriate number:  [3] 1
> 
>  
> 
> 
> Do you want to install the MysqlPerl emulation? You might keep your old
> Mysql module (to be distinguished from DBD::mysql!) if you are concerned
> about compatibility to existing applications! [n]
> Where is your MySQL installed? Please tell me the directory that
> contains the subdir 'include'. [/usr/local]
> Which database should I use for testing the MySQL drivers? [test]
> On which host is database test running (hostname, ip address
> or host:port) [localhost]
> User name for connecting to database test? [undef]
> Password for connecting to database test? [undef]
> Creating files for MySQL 
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lgz
> Using DBI 1.18 installed in /usr/lib/perl5/site_perl/mips-linux/auto/DBI
> Writing Makefile for DBD::mysql
> Writing Makefile for Msql-Mysql-modules
> [root@MySQL Msql-Mysql-modules-1.2216]# make
> mkdir ./blib
> mkdir ../blib/lib
> mkdir ../blib/arch
> mkdir ./blib/arch/auto
> mkdir ../blib/arch/auto/Msql-Mysql-modules
> mkdir ./blib/lib/auto
> mkdir ../blib/lib/auto/Msql-Mysql-modules
> mkdir ./blib/man1
> /usr/bin/perl -I./blib/arch -I./blib/lib 
> -I/usr/lib/perl5/mips-linux/5.00404 \
> -I/usr/lib/perl5 -Ilib -MExtUtils::PerlPP \
> -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
> PAGER=cat /usr/bin/perldoc mysql/lib/DBD/mysql.pm >README
> make[1]: Entering directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> mkdir ..././blib/lib/DBD
> mkdir .././blib/arch/auto/DBD
> mkdir ..././blib/arch/auto/DBD/mysql
> mkdir .././blib/lib/auto/DBD
> mkdir ..././blib/lib/auto/DBD/mysql
> mkdir .././blib/man3
> cp lib/DBD/mysql.pm ..././blib/lib/DBD/mysql.pm
> cp lib/Bundle/DBD/mysql.pm ..././blib/lib/Bundle/DBD/mysql.pm
> cp lib/Mysql/Statement.pm ..././blib/lib/Mysql/Statement.pm
> cp lib/Mysql.pm ..././blib/lib/./Mysql.pm
> cc -c -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/local/include/mysql -I../dbd 
> -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL 
> -I/usr/local/include -O2-DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" 
> -fpic -I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL dbdimp.c
> dbdimp.c: In function `MysqlReconnect':
> dbdimp.c:2157: warning: assignment from incompatible pointer type
> /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < 
> /usr/lib/perl5/site_perl/mips-linux/auto/DBI/Driver.xst > mysql.xsi
> /usr/bin/perl -I/usr/lib/perl5/mips-linux/5.00404 -I/usr/lib/perl5 
> /usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap 
> mysql.xs >mysql.tc && mv mysql.tc mysql.c
> Warning: duplicate function definition 'rows' detected in mysql.xs, line 381
> cc -c -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/local/include/mysql -I../dbd 
> -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL 
> -I/usr/local/include -O2-DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" 
> -fpic -I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL mysql.c
> Running Mkbootstrap for DBD::mysql ()
> chmod 644 mysql.bs
> LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2" 
> cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
> dbdimp.o mysql.o -L/usr/local/lib/mysql-L/usr/local/lib/mysql 
> -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc
> ld: cannot open -lz: No such file or directory
> make[1]: *** [.././blib/arch/auto/DBD/mysql/mysql.so] Error 1
> make[1]: Leaving directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> make: *** [subdirs] Error 2
> [root@MySQL Msql-Mysql-modules-1.2216]# make test
> make[1]: Entering directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2" 
> cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
> dbdimp.o mysql.o -L/usr/local/lib/mysql-L/usr/local/lib/mysql 
> -lmysqlclient -lm -lz -L/usr

Problems installing Msql-Mysql-modules

2001-07-02 Thread Vien Huynhle
Title: Blank



This is what I have done
 
[root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL Which drivers 
do you want to install?
 
    1)  MySQL only    2)  mSQL 
only (either of mSQL 1 or mSQL 2)    3)  MySQL and mSQL 
(either of mSQL 1 or mSQL 2)
 
    4)  mSQL 1 and mSQL 2    
5)  MySQL, mSQL 1 and mSQL 2
 
Enter the appropriate number:  [3] q^H1Checking if your kit is 
complete...Looks good
 
[root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL Which drivers 
do you want to install?
 
    1)  MySQL only    2)  mSQL 
only (either of mSQL 1 or mSQL 2)    3)  MySQL and mSQL 
(either of mSQL 1 or mSQL 2)
 
    4)  mSQL 1 and mSQL 2    
5)  MySQL, mSQL 1 and mSQL 2
 
Enter the appropriate number:  [3] 1
 
Do you want to install the MysqlPerl emulation? You might keep your 
oldMysql module (to be distinguished from DBD::mysql!) if you are 
concernedabout compatibility to existing applications! [n] Where is your 
MySQL installed? Please tell me the directory thatcontains the subdir 
'include'. [/usr/local] Which database should I use for testing the MySQL 
drivers? [test] On which host is database test running (hostname, ip 
addressor host:port) [localhost] User name for connecting to database 
test? [undef] Password for connecting to database test? [undef] Creating 
files for MySQL Checking if your kit is 
complete...Looks goodNote (probably harmless): No library found for 
-lgzUsing DBI 1.18 installed in 
/usr/lib/perl5/site_perl/mips-linux/auto/DBIWriting Makefile for 
DBD::mysqlWriting Makefile for Msql-Mysql-modules[root@MySQL 
Msql-Mysql-modules-1.2216]# makemkdir ./blibmkdir ./blib/libmkdir 
./blib/archmkdir ./blib/arch/automkdir 
./blib/arch/auto/Msql-Mysql-modulesmkdir ./blib/lib/automkdir 
./blib/lib/auto/Msql-Mysql-modulesmkdir ./blib/man1/usr/bin/perl 
-I./blib/arch -I./blib/lib -I/usr/lib/perl5/mips-linux/5.00404 
\-I/usr/lib/perl5 -Ilib -MExtUtils::PerlPP \-e ppp "dbd/dbimon.in" 
"dbimon" "lib/DBD/mysql/Install/Config.pm"PAGER=cat /usr/bin/perldoc 
mysql/lib/DBD/mysql.pm >READMEmake[1]: Entering directory 
`/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'mkdir 
.././blib/lib/DBDmkdir .././blib/arch/auto/DBDmkdir 
.././blib/arch/auto/DBD/mysqlmkdir .././blib/lib/auto/DBDmkdir 
.././blib/lib/auto/DBD/mysqlmkdir .././blib/man3cp lib/DBD/mysql.pm 
.././blib/lib/DBD/mysql.pmcp lib/Bundle/DBD/mysql.pm 
.././blib/lib/Bundle/DBD/mysql.pmcp lib/Mysql/Statement.pm 
.././blib/lib/Mysql/Statement.pmcp lib/Mysql.pm 
.././blib/lib/./Mysql.pmcc -c -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
-I/usr/local/include/mysql -I../dbd 
-I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
-I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL -I/usr/local/include 
-O2    -DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" -fpic 
-I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL dbdimp.cdbdimp.c: In 
function `MysqlReconnect':dbdimp.c:2157: warning: assignment from 
incompatible pointer type/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < 
/usr/lib/perl5/site_perl/mips-linux/auto/DBI/Driver.xst > 
mysql.xsi/usr/bin/perl -I/usr/lib/perl5/mips-linux/5.00404 -I/usr/lib/perl5 
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap 
mysql.xs >mysql.tc && mv mysql.tc mysql.cWarning: duplicate 
function definition 'rows' detected in mysql.xs, line 381cc -c 
-I/usr/lib/perl5/site_perl/mips-linux/auto/DBI -I/usr/local/include/mysql 
-I../dbd -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
-I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL -I/usr/local/include 
-O2    -DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" -fpic 
-I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL mysql.cRunning 
Mkbootstrap for DBD::mysql ()chmod 644 
mysql.bsLD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2" 
cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql 
-lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc ld: cannot 
open -lz: No such file or directorymake[1]: *** 
[.././blib/arch/auto/DBD/mysql/mysql.so] Error 1make[1]: Leaving directory 
`/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'make: *** [subdirs] Error 
2[root@MySQL Msql-Mysql-modules-1.2216]# make testmake[1]: Entering 
directory 
`/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2" 
cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql 
-lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc ld: cannot 
open -lz: No such file or directorymake[1]: *** 
[.././blib/arch/auto/DBD/mysql/mysql.so] Error 1make[1]: Leaving directory 
`/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'make: *** [subdirs] Error 
2[root@MySQL Msql-Mysql-modules-1.2216]# make installmake[1]: Entering 
directory 
`/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'LD_RUN_PATH="/usr/lo

Re: Problems installing on Solaris 2.6

2001-06-08 Thread Jeremy Zawodny

On Thu, Jun 07, 2001 at 02:05:57PM -0500, Aaron Williamson wrote:
>
> I'm sure this has been beat into the ground here, but I've nowhere
> else to turn.

Whenever you're sure that a question has been asked many times before,
it's best to check the documentation and the mailing list
archives. We're human, and will eventually tire of answering the same
questions on a daily or weekly basis.

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878Fax: (408) 349-5454Cell: (408) 439-9951

MySQL 3.23.29: up 13 days, processed 82,082,824 queries (71/sec. avg)

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems installing on Solaris 2.6

2001-06-07 Thread Aaron Williamson

I'm sure this has been beat into the ground here, but I've nowhere else
to turn.

When running ./configure --prefix=/usr/local/mysql I get the following
error:

configure: error: can not run test program while cross compiling

Can anyone explain to me how to get around this?

Thanks,

Aaron

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Problems installing on Solaris 2.6

2001-06-07 Thread Ravi Raman

hi.
rtfm.
http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html#So
laris

-ravi.

-Original Message-
From: Aaron Williamson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 3:06 PM
To: [EMAIL PROTECTED]
Subject: Problems installing on Solaris 2.6


I'm sure this has been beat into the ground here, but I've nowhere else
to turn.

When running ./configure --prefix=/usr/local/mysql I get the following
error:

configure: error: can not run test program while cross compiling

Can anyone explain to me how to get around this?

Thanks,

Aaron

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




problems installing mysql 3.23.38 for linux

2001-06-03 Thread Duane Douglas

hello,

i'm trying to install mysql 3.23.38 for linux.  the bin directory didn't 
expand when i untarred the mysql installation tarball?  is this a known issue?

tia

if (duane.douglas) { coder = asp * cold fusion * xml * xsl * sql server * 
javascript }

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problems Installing 3.23.31

2001-01-23 Thread Pat Sherrill

Try compiling with the static switch set.   Check the manual for exact
syntax.
Pat...

- Original Message -
From: "Robert Hough" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 8:10 AM
Subject: Problems Installing 3.23.31


> I compilied 3.23.31 and I keep getting this error:
>
> Cannot open "../libmysql/.libs/libmysqlclient.so"
>
> This happens with every client binary, and I can't seem to figure out
> where this is coming from during compile time.
>
> --
> Robert Hough ([EMAIL PROTECTED])
>
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problems Installing 3.23.31

2001-01-23 Thread Robert Hough

I compilied 3.23.31 and I keep getting this error: 

Cannot open "../libmysql/.libs/libmysqlclient.so"

This happens with every client binary, and I can't seem to figure out
where this is coming from during compile time.

-- 
Robert Hough ([EMAIL PROTECTED])


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php