Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: dtech on October 13, 2006, 03:47:04 PM

Title: New phpMyAdmin contrib by dmay?
Post by: dtech 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
Title: Re: New phpMyAdmin contrib by dmay?
Post by: dmay 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
Title: New phpMyAdmin contrib by dmay?
Post by: william_syd 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?
Title: New phpMyAdmin contrib by dmay?
Post by: dmay 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
Title: New phpMyAdmin contrib by dmay?
Post by: Janm 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
Title: New phpMyAdmin contrib by dmay?
Post by: Janm on October 14, 2006, 04:01:00 AM
dubblepost sorry
Title: New phpMyAdmin contrib by dmay?
Post by: william_syd 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 ?
Title: New phpMyAdmin contrib by dmay?
Post by: william_syd 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.