473,466 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PHPMYADMIN Setup and config

8 New Member
Hi,
I am new to this forum and to PHP. I have set up a local Apache server with MYSQL and PHP and in an attemp to use the mysqldump function came accross PHPMyAdmin. A simple download and placed a folder in htdocs, made a config folder and (successfully) ran setup.php.

Problem 1 - Using setup.php, none of the buttons appears to do anything
Problem 2 - While it did produce a config.inc.php file, this had no content

Tried to then manually setup the config.inc.php file trying numerous different options for auth_type, including password or not, including port or not, adding a line for extension= mysqli etc but every time I try to run it, all I get is

MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

I feel sure that there is some setting that needs to change either in PHP or Apache but all my searching cannot tell me what it is.

I'd appreciate your help
Mar 13 '07 #1
4 16071
ronverdonk
4,258 Recognized Expert Specialist
The are actually 2 config files in the root of the phpMyAdmin folder.

1 config.inc.php which is (almost) empty
2. config.sample.inc.php which you must adapt to your setup

The sample config must, after adaptation, be stored as 'config.inc.php' in the 'config' subdirectory. All directives are explained in Documentation.html and on phpMyAdmin wiki at http://wiki.cihar.com


I will include the sample config I have, so you can see what is looks like [php]
<?php

/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = '0a2bc3f68d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
$cfg['Servers'][$i]['user'] = 'xxx'; // use here your userid
$cfg['Servers'][$i]['password'] = 'yyy'; // use here your password
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'xxx'; // use here your controlling userid
$cfg['Servers'][$i]['controlpass'] = 'yyy'; // use here password of previous userid
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>[/php]

Ronald :cool:
Mar 13 '07 #2
Paul Herrmann
8 New Member
Thanks for your help! With a bit of additional fiddling I managed to get it working.

Cheers
Mar 13 '07 #3
ronverdonk
4,258 Recognized Expert Specialist
You are welcome! See you again.

Ronald :cool:
Mar 13 '07 #4
drewan
1 New Member
Hi Paul,

I am new to phpMyAdmin, and I encounter the exact same problem you did with the setup.php, the page loaded with all the buttons except none of them seems to work even i click on it hundrad times. How could I fix this problem?

Thanks,

Drew
Apr 17 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Adams-Blake Co. | last post by:
What technique do you folks use to keep your passwords and user names out of the phpMyAdmin config.inc file. Thanks, Al
7
by: 'bonehead | last post by:
Okay, I've never used phpMyAdmin before but I'm trying to learn. I've downloaded the .zip file and unzipped it on my Windows box. It looks like all I have to do now is ftp all the files to the...
0
by: Kammy | last post by:
I am on Solaris 2.9. I simply ran "configure" and I got this error message: config.status:671: creating Makefile.pre config.status:671: creating Modules/Setup.config config.status:20: error:...
0
by: Noah | last post by:
freeBSD 4-8 STABLE cant install Python-2.3.3 configure: creating ./config.status config.status: creating Makefile.pre config.status: creating Modules/Setup.config config.status: error:...
0
by: TERMAN, IRA, ALABS | last post by:
Hello, I am trying to install Python-2.3. I get the following error when I run ./configure --with-csx=gcc on my Solaris machine. config.status: error: cannot find input file:...
0
by: Christophe | last post by:
Hello, I'm trying to build python 2.3.4 on Solaris 8 (SunOS 5.8) and I ran into a little problem with the socket/ssl module : ************************************ gcc -shared...
1
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET...
22
by: James Stroud | last post by:
Hello All, This is annoying. I am trying to build scipy right now but every .so file requires my adding "-lpython2.5 -lpthread -lm -lutil -ldl -shared" to the ld flags. Main Question: When...
0
by: andrew.douglas11 | last post by:
Hello all, I've been struggling on something that should be very easy. I want to log every unhandled exception that occurs in my web app to a text file. With the introduction of health...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.