Wednesday, June 30, 2010

Re: LAMPP + Django on Fedora 13 Linux

On 30/06/10 17:48, jlighthouse wrote:
> Hi guys,
>
> I have been using Fedora 13 and LAMPP (appachefriends.org) to handle
> up my Joomla php development. I have Eclipse installed with PyDev
> module, django, python installed altogether on my Linux system. I
> would like to use phpmyadmin with Django, actually mysql with Django.
> Thus, considering that mysql is available within the LAMPP server, I
> would like to use it with Django.
>
> As I see, new Django project in Eclipse (database settings.py) does
> not allow to configure mysql of LAMPP with Django.
>
> Please, help me to set this up. Official Django documentation does not
> cover such a work.
>
> Kostia
>
Hey Kostia,

Fedora is a great idea, it brings everything you need to edit and serve
your django or joomla. (same applies to many other linux distributions)

If I were you, I would throw away your lampp-package for mainly three
reasons:
- its security is unmanaged, all packages installed via packaging system are
- since your lampp probably came as zip, tar. etc, its files are not in
your package database, so you have to know your files, filenames etc. to
remove it. You're mixing files from
- fedora contains all necessary packages:
yum install httpd mysql-server php Django MySQL-python

I assume, you did not install MySQL-python, so you can't connect from
python to mysql.

PhpMyAdmin is an application to manage your mysql database. It is
totally unconnected to your django applications.

Apache can easily be used to serve both, php and django.

Matthias

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment