Koozali.org: home of the SME Server

help setting up a site with phpmyadmin & mysql

cosmin

help setting up a site with phpmyadmin & mysql
« on: May 17, 2006, 03:20:14 PM »
Hi

  I need to set up a site that use php to interogate an mysql database. Problem is i cant set up the phpmyadmin in order to manage that database.  I dont know wich user and password to put in config file (already tryed www, mysql - without passwd... even root).

PS: I must say that i am new in this linux world and must tell me step by step what to do.

Thanks

Offline smitti

  • *
  • 27
  • +0/-0
    • http://smitti.mine.nu
help setting up a site with phpmyadmin & mysql
« Reply #1 on: May 18, 2006, 09:47:59 AM »
Did you already install phpmyadmin?

because then you can log in with admin and password.....

Peter

cosmin

help setting up a site with phpmyadmin & mysql
« Reply #2 on: May 18, 2006, 01:12:10 PM »
phpmyadmin does not have an install... just create a config file and run. Problem is when i create that config it ask for a username/password and mysqld say "#1045 - Access denied for user: ...." with any user i try.

boss_hog

help setting up a site with phpmyadmin & mysql
« Reply #3 on: May 18, 2006, 02:03:02 PM »
Hey cosmin,
you might be better off trying the excellent contrib by Darrell May.

Link here: http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm

Once installed use the existing admin/password account for access.
Good luck
Joe

cosmin

help setting up a site with phpmyadmin & mysql
« Reply #4 on: May 18, 2006, 03:09:58 PM »
Quote from: "boss_hog"
Once installed use the existing admin/password account for access.


Ok, but how do i access it? It instals the phpmyadmin in /opt/phpmyadmin and not in ibay/primary...

boss_hog

help setting up a site with phpmyadmin & mysql
« Reply #5 on: May 18, 2006, 03:39:06 PM »
Hey cosmin,
https://<host-name>/phpmyadmin
Good luck
Joe

cosmin

help setting up a site with phpmyadmin & mysql
« Reply #6 on: May 19, 2006, 09:16:28 AM »
Thank You !

I fix it now and works super.

kuyaz

help setting up a site with phpmyadmin & mysql
« Reply #7 on: May 28, 2006, 07:30:11 AM »
I need some help here. I got phpmyadmin installed, but when I go to http://domain/phpmyadmin

I get 403 Forbidden "You don't have permission to access /phpmyadmin on this server."

Any suggestions?

Offline mdo

  • *
  • 355
  • +0/-0
help setting up a site with phpmyadmin & mysql
« Reply #8 on: May 28, 2006, 08:52:13 AM »
Quote
but when I go to http://domain/phpmyadmin


Try https://    

Michael
...