Jump to content

Trouble with phpmyadmin on Mac OS X Leopard


mtwilson

Recommended Posts

Interface

 

Language : 

Theme / Style:

Custom color:

 

Font size:

Web server

 

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.6

phpMyAdmin

 

Version information: 3.1.3

Documentation

Wiki

Official Homepage

[ChangeLog] [subversion] [Lists]

 

I have the config.ini.php file set up like this..

 

/*

* This is needed for cookie based authentication to encrypt password in

* cookie

*/

$cfg['blowfish_secret'] = ‘AuburnBailey1′;

/*

* Servers configuration

*/

$i = 0;

$i++;

/*

* First server

*/

$i++;

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'cookie';

/* Server parameters */

$cfg['Servers'][$i]['host'] = '127.0.0.1';

$cfg['Servers'][$i]['connect_type'] = 'socket';

$cfg['Servers'][$i]['socket'] = '/var/mysql/mysql.sock';

$cfg['Servers'][$i]['compress'] = false;

/* Select mysqli if your server has it */

$cfg['Servers'][$i]['extension'] = 'mysqli';

$cfg['Servers'][$i]['user'] = '';

$cfg['Servers'][$i]['password'] = '';

 

/* rajk - for blobstreaming */

$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;

$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';

$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;

$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';

 

I am able to login to the mySQL server with Sequal Pro without a problem, so MySQL is running and working.

 

This is driving me nuts, any help greatly appreciated.

Sorry, my original post included this...

 

I have Apache (v2.2.9), MySQL (v5.1.31) and PHP (v5.2.6) set up on my Mac Book with Mac OS X Leopard (latest version) as a development platform.  Problem is when I login to localhost/phpmyadmin/ I get this screen and nothing else...

 

Interface

 

Language : 

Theme / Style:

Custom color:

 

Font size:

Web server

 

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l DAV/2 PHP/5.2.6

phpMyAdmin

 

Version information: 3.1.3

Documentation

Wiki

Official Homepage

[ChangeLog] [subversion] [Lists]

 

I have the config.ini.php file set up like this..

 

/*

* This is needed for cookie based authentication to encrypt password in

* cookie

*/

$cfg['blowfish_secret'] = ‘AuburnBailey1′;

/*

* Servers configuration

*/

$i = 0;

$i++;

/*

* First server

*/

$i++;

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'cookie';

/* Server parameters */

$cfg['Servers'][$i]['host'] = '127.0.0.1';

$cfg['Servers'][$i]['connect_type'] = 'socket';

$cfg['Servers'][$i]['socket'] = '/var/mysql/mysql.sock';

$cfg['Servers'][$i]['compress'] = false;

/* Select mysqli if your server has it */

$cfg['Servers'][$i]['extension'] = 'mysqli';

$cfg['Servers'][$i]['user'] = '';

$cfg['Servers'][$i]['password'] = '';

 

/* rajk - for blobstreaming */

$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;

$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';

$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;

$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';

 

I am able to login to the mySQL server with Sequal Pro without a problem, so MySQL is running and working.

 

This is driving me nuts, any help greatly appreciated.

this is the html of the page that comes up...

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"

    xml:lang="en"

    lang="en"

    dir="ltr">

<head>

<link rel="icon" href="./favicon.ico" type="image/x-icon" />

<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />

<title>phpMyAdmin 3.1.3 -

    127.0.0.1</title>

<meta http-equiv="Content-Type"

    content="text/html; charset=utf-8" />

<meta name="robots" content="noindex,nofollow" />

<script type="text/javascript">

// <![CDATA[

    // definitions used in common.js

    var common_query = 'server=0&token=288e2ed859704a23918b33a94281e4f2';

    var opendb_url = 'db_structure.php';

    var safari_browser = true;

    var querywindow_height = 400;

    var querywindow_width = 600;

    var collation_connection = 'utf8_general_ci';

    var lang = 'en-utf-8';

    var server = '0';

    var table = '';

    var db    = '';

    var token = '288e2ed859704a23918b33a94281e4f2';

    var text_dir = 'ltr';

    var pma_absolute_uri = 'http://127.0.0.1/phpmyadmin/';

    var pma_text_default_tab = 'Browse';

    var pma_text_left_default_tab = 'Structure';

 

    // for content and navigation frames

 

    var frame_content = 0;

    var frame_navigation = 0;

    function getFrames() {

        frame_content = window.frames[1];

        frame_navigation = window.frames[0];

    }

    var onloadCnt = 0;

    var onLoadHandler = window.onload;

    window.onload = function() {

        if (onloadCnt == 0) {

            if (typeof(onLoadHandler) == "function") {

                onLoadHandler();

            }

            if (typeof(getFrames) != 'undefined' && typeof(getFrames) == 'function') {

                getFrames();

            }

            onloadCnt++;

        }

    };

// ]]>

</script>

<script src="./js/common.js" type="text/javascript"></script>

</head>

<frameset cols="200,*" rows="*" id="mainFrameset">

        <frame frameborder="0" id="frame_navigation"

        src="navigation.php?server=0&token=288e2ed859704a23918b33a94281e4f2&phpMyAdmin=e420d6fc95b0978fff66ef77c1d32cef292492c1"

        name="frame_navigation" />

        <frame frameborder="0" id="frame_content"

        src="main.php?server=0&token=288e2ed859704a23918b33a94281e4f2&phpMyAdmin=e420d6fc95b0978fff66ef77c1d32cef292492c1"

        name="frame_content" />

        <noframes>

        <body>

            <p>phpMyAdmin is more friendly with a <b>frames-capable</b> browser.</p>

        </body>

    </noframes>

</frameset>

</html>

  • 3 weeks later...

I finally gave up and installed a MAMP stack. Now if olny I knew how to remove the Apache, PHP, PEAR, MySQL, MyPHPadmin files I added by hand (ie. termnal) to my root web server I could use it with MAMP. Instead I am stuck using MAMP from my Applications folder with the default root. What a pain!

 

Thanks to all for the effort with this! Much appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.