Koozali.org: home of the SME Server

New phpMyAdmin contrib by dmay?

Offline dtech

  • ***
  • 70
  • +0/-0
New phpMyAdmin contrib by dmay?
« on: October 13, 2006, 03:47:04 PM »
Hi dmay;

I just found your new (as of yesterday) phpmyAdmin contrib in http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/ , and I was wondering if you were going to announce it, and specifically what the default user and password is to log in.

Thanks,

-P

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: New phpMyAdmin contrib by dmay?
« Reply #1 on: October 13, 2006, 05:02:18 PM »
Quote from: "dtech"
what the default user and password is to log in.

Code: [Select]
# rpm -qp --info smeserver-phpmyadmin-2.9.0.2-0.dmay.noarch.rpm
Name        : smeserver-phpmyadmin         Relocations: (not relocatable)
Version     : 2.9.0.2                           Vendor: (none)
Release     : 0.dmay                        Build Date: Thu 12 Oct 2006 11:35:39 AM CDT
Install Date: (not installed)               Build Host: sme.myezserver.com
Group       : Mitel/addon                   Source RPM: smeserver-phpmyadmin-2.9.0.2-0.dmay.src.rpm
Size        : 11509525                         License: GPL
Signature   : (none)
Packager    : Darrell May <dmay@myezserver.com>
URL         : http://www.phpmyadmin.net/
Summary     : phpMyAdmin for SME Server
Description :
Implementation of phpMyAdmin for SME Server.
Access with admin username/password via: https://yourdomain/phpmyadmin.

Darrell

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
New phpMyAdmin contrib by dmay?
« Reply #2 on: October 14, 2006, 12:47:59 AM »
Interesting.

Just installed on a SME Server-Gateway VM with yum localinstall.

Going to https://yourdomain/phpmyadmin I was automatically logged in as root@localhost via UNIX socket.

There was no admin user in the mysql db user table.

There was no logout option.

LocalNetworkingOnly is set to yes.

Is the above the expected behaviour?
Regards,
William

IF I give advise.. It's only if it was me....

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
New phpMyAdmin contrib by dmay?
« Reply #3 on: October 14, 2006, 02:46:59 AM »
Quote from: "william_syd"
Just installed on a SME Server-Gateway VM with yum localinstall.

I'm not sure if VM is the issue. You should be presented with an apache login box where you enter the admin login/password. See:

/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86PhpmyadminAlias

After this, yes you are logged in as root. See:

/opt/phpmyadmin/config.inc.php

Darrell

Janm

New phpMyAdmin contrib by dmay?
« Reply #4 on: October 14, 2006, 03:55:22 AM »
Just installed on a clean sme 7.0
Everything works perfect even danish is there
Thanks Darrel
Janm

Janm

New phpMyAdmin contrib by dmay?
« Reply #5 on: October 14, 2006, 04:01:00 AM »
dubblepost sorry

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
New phpMyAdmin contrib by dmay?
« Reply #6 on: October 14, 2006, 07:41:34 AM »
Code: [Select]
/*
 * Generated configuration file
 * Generated by: phpMyAdmin 2.9.0.2 setup script by Michal Čihař <michal@cihar.com>
 * Version: $Id: setup.php,v 1.36.2.3.2.1 2006/10/03 13:11:08 nijel Exp $
 * Date: Thu, 12 Oct 2006 16:17:17 GMT
 */

/* Servers configuration */
$i = 0;

/* Server localhost (config:root) [1] */
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password']        = '------ REMOVED ---------';
/* End of servers configuration */


The above is the full contents of /opt/phpmyadmin/config.inc.php

I removed the huge password.

Also, why didn't the template go into the custom template directory ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
New phpMyAdmin contrib by dmay?
« Reply #7 on: October 14, 2006, 08:16:51 AM »
Ok. My error.

Already had a Firefox window open and logged into server-manager as admin.

Also more use to phpMyAdmin 'cookie' login authentication so going in as root threw me also.
Regards,
William

IF I give advise.. It's only if it was me....