[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MySQL on debian amd64



Nils Valentin wrote:
> Today I installed and configured MySQL (its not the first time I am
> doing this so I am a bit puzzled).

I am also puzzled.  You replied to a thread where were were discussing
the merits of installing software in chroots.

> 1) I am unable to set the default-character-set in /etc/my.cnf.

Are you installing MySQL in a chroot and having a problem with it?  If
so could you restate your problem?  Because I am at a completely loss
to understand in what way you are having chroot problems.

> 2)How would I know the full .deb package name (including version number) 
> containing the mysql server files. Using "dpkg --list mysql-server" just 
> gives me the version number?
> 
>  I am actually looking foran equivalent to "rpm -qi <packagename.rpm>". 

'rpm -qi packagename.rpm' won't work.  -p on files.  Without -p on
installed names of things.  So that would be:

  rpm -qpi packagename.rpm

  dpkg --info packagename.deb

To query installed packages by name.

  rpm -qi packagename

  dpkg --status packagename

Bob

> Any reply would be much appreciated.
> 
> Best regards
> 
> Nils Valentin
> 
> 
> On Tuesday 30 November 2004 02:47, Goswin von Brederlow wrote:
> > bob@proulx.com (Bob Proulx) writes:
> > > Phil Warrick wrote:
> > >> I'm going with the chroot approach then.
> > >>
> > >> Following the AMD64 HOWTO in section "Running applications inside the
> > >> chroot",  I followed the instructions and then I wanted to try to run a
> > >> 32-bit program.
> > >>
> > >> First I wanted to try to run some X-based program so I tried openoffice,
> > >> which was not yet installed.  When I tried to install it in the chroot,
> > >> I got the following errors below.
> > >> [...]
> > >> Can someone indicate what might be wrong?  I'm using kernel
> > >> 2.6.8-9-amd-k8-smp on a dual Opteron system.
> > >
> > > Check your /etc/apt/sources.list file *in the chroot* and make sure it
> > > can get to the 32-bit archive.  Make sure that 'apt-get update' works
> > > in the chroot.  It looks to me like apt has no package lists at all.
> > >
> > > If you have 'dchroot' configured you can run the commands like this:
> > >
> > >   dchroot editor /etc/apt/sources.list
> > >
> > >   dchroot apt-get update
> > >   dchroot apt-get install openoffice.org
> > >
> > > Bob
> >
> > Don't forget /etc/hosts, /etc/passwd, /etc/groups, /etc/shadow,
> > /etc/mtab, /proc in the chroot.
> >
> > MfG
> >         Goswin
> 
> -- 
> kind regards
> 
> Nils Valentin
> Tokyo/Japan
> 
> http://www.be-known-online.com/mysql/
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: