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.lang.ruby > PHPMYADMIN|MySQL5|RubyonRails|Apache
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
PHPMYADMIN|MySQL5|RubyonRails|Apache

Réponse
 
LinkBack Outils de la discussion
Vieux 11/05/2008, 20h22   #1
Baxter Baxter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut PHPMYADMIN|MySQL5|RubyonRails|Apache

This is the configuration I am trying to use , but I am kinda in a spot
where I cannot figure out how to access phpmyadmin with Rails running.
Let me explain ..
Rails starts out running @ localhost:3000 , so would I not install
phpmyadmin to be something like localhost:3000/phpmyadmin just as if I
were using it with just apache. ( I have tried to put it there but cant
access it via the browser, thought about making a link to it inside RUby
pages if that will work to see ) also what is strange is I think I have
mucked up my apache config as it localhost by itself no longer brings a
page at just localhost , but yet Rails URLS still work this is strange
to me as it seems as if Apache is not even running but it is.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 11/05/2008, 22h55   #2
Phillip Gawlowski
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHPMYADMIN|MySQL5|RubyonRails|Apache

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Baxter Baxter wrote:
| This is the configuration I am trying to use , but I am kinda in a spot
| where I cannot figure out how to access phpmyadmin with Rails running.
| Let me explain ..
| Rails starts out running @ localhost:3000 , so would I not install
| phpmyadmin to be something like localhost:3000/phpmyadmin just as if I
| were using it with just apache. ( I have tried to put it there but cant
| access it via the browser, thought about making a link to it inside RUby
| pages if that will work to see ) also what is strange is I think I have
| mucked up my apache config as it localhost by itself no longer brings a
| page at just localhost , but yet Rails URLS still work this is strange
| to me as it seems as if Apache is not even running but it is.

The servers Rails uses for development (Mongrel, Webrick, depending on
OS and config) don't allow for PHP parsing.

Also: Make sure apache binds to the right port. You cannot bind multiple
servers to the same port, either.

Lastly: www.rubyonrails.com/community <- The Rails community is better
at answering Rails questions.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ Miss Wormwood: What state do you live in?
~ Calvin: Denial.
~ Miss Wormwood: I don't suppose I can argue with that...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgna18ACgkQbtAgaoJTgL/1bwCdH5s2TsylBuTGaw64j7ZDimSP
SRUAoItfm0x+TBW6q6xy1tMrtSNKj1yg
=AFjk
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 12/05/2008, 03h30   #3
Baxter Baxter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHPMYADMIN|MySQL5|RubyonRails|Apache

Yeah..hmm.. well apparently the version of Ruby does a lot more than I
thought, I was trying to manually configure the apache2.conf files and
all this other needless stuff , that the latest version of Ruby on Rails
already does on install, and actually everything really was working out
of the box until I stated changing it haha, I realized .So once I went
back to the original apache2.conf file., phpmyadim worked fine.
BTW phpmyadmin is a really great tool for managing mysql databases, I am
quite capable at the commandline too, but if I am going that route I
might as well use Oracle because it has a really nice command line
interface. Never the less , I like to have a more visual view of table
hierarchy, which I know you can do at the command line, but its just
more adaptable. Besides all that, I am working on getting thru a
tutorial book on Rails and the guy uses phpmyadmin and the command line
interface , so in order to keep up with him , I needed to have both
going.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 12/05/2008, 03h33   #4
Baxter Baxter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHPMYADMIN|MySQL5|RubyonRails|Apache

Baxter Baxter wrote:
> Yeah..hmm.. well apparently the version of Ruby does a lot more than I
> thought, I was trying to manually configure the apache2.conf files and
> all this other needless stuff , that the latest version of Ruby on Rails
> already does on install, and actually everything really was working out
> of the box until I stated changing it haha, I realized .So once I went
> back to the original apache2.conf file., phpmyadim worked fine.
> BTW phpmyadmin is a really great tool for managing mysql databases, I am
> quite capable at the commandline too, but if I am going that route I
> might as well use Oracle because it has a really nice command line
> interface. Never the less , I like to have a more visual view of table
> hierarchy, which I know you can do at the command line, but its just
> more adaptable. Besides all that, I am working on getting thru a
> tutorial book on Rails and the guy uses phpmyadmin and the command line
> interface , so in order to keep up with him , I needed to have both
> going.


oh yeah also to correct what I said at first ,
if you are using phpmyadmin with Rails, its where is usually is
http://localhost.com/phpmyadmin
--
Posted via http://www.ruby-forum.com/.

  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 08h30.


É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,12737 seconds with 12 queries