PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Where does apt-get install mysql-server?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Where does apt-get install mysql-server?

Réponse
 
LinkBack Outils de la discussion
Vieux 16/10/2007, 06h14   #1
Ivan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Where does apt-get install mysql-server?

I am installing a webapp under tomcat and it requires me to identify
the path to the MySQL directory.
Naturally, the first thing that came to mind was /etc/mysql however
this didn't seem to work.

After doing a search as follows:

# whereis mysql
mysql: /usr/bin/mysql /etc/mysql /usr/X11R6/bin/mysql /usr/bin/X11/
mysql /usr/local/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz

I really have no idea what the most logical solution would be. All I
do know is that none of these options work.

I can connect to the database and start/stop it via its initscript,
but need to know where in my computer it is installed..

Using 64 bit ubuntu..

  Réponse avec citation
Vieux 16/10/2007, 20h40   #2
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Where does apt-get install mysql-server?

== Quote from Ivan (find.ivan@gmail.com)'s article
> I am installing a webapp under tomcat and it requires me to identify
> the path to the MySQL directory.
> Naturally, the first thing that came to mind was /etc/mysql however
> this didn't seem to work.
> After doing a search as follows:
> # whereis mysql
> mysql: /usr/bin/mysql /etc/mysql /usr/X11R6/bin/mysql /usr/bin/X11/
> mysql /usr/local/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
> I really have no idea what the most logical solution would be. All I
> do know is that none of these options work.
> I can connect to the database and start/stop it via its initscript,
> but need to know where in my computer it is installed..
> Using 64 bit ubuntu..


this is more an os issue but here you go:
ivan, this is not terribly hard. i believe apt-get has an option that tells you
exactly where it puts all the files it installs. you may want to also run
locate mysql
or
locate mysql5
or
whereis mysql5

some apps install to /opt/local as well.
--
POST BY: lark with PHP News Reader
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08556 seconds with 10 queries