473,692 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ 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'@'localho st' (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 16098
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.i nc.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.h tml 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.i nc.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.h tml and on phpMyAdmin
* wiki <http://wiki.cihar.com> .
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secre t'] = '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_coor ds';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages' ;
$cfg['Servers'][$i]['column_info'] = 'pma_column_inf o';
$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
5603
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
6930
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 appropriate directory on my RedHat box, and then just configure a few settings like hostname, username and password. I guess I'm not quite clear on the concept of which directory I'm supposed to ftp the files to. Since it has to run in a web...
0
1165
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: cannot find input file: Modules/Setup.config.in There is nothing in the Modules directory. I also noticed that
0
1152
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: cannot find input file: Modules/Setup.config.in clues please?
0
1332
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: Modules/Setup.config.in My system shows: # uname -svrm SunOS 5.8 Generic_108528-23 sun4u
0
1489
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 build/temp.solaris-2.8-sun4u-2.3/_ssl.o -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.3/_ssl.so ld: fatal: relocations remain against allocatable but non-writable sections
1
4198
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 IDE isn't capable of create a setup and deploy project and, in a elegant way, during the setup process, detect the absence of the Framework. In this case, I'd like to run the Dotnetredist.exe file, first, and the
22
4702
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 building with "setup.py", where can I include this information so I don't have to link every .so file by hand? Also, why would this not be caught by the developers of scipy and numpy?
0
995
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 monitoring in 2.0, this should be super easy, but it's not. First off, there's no out-of-the-box provider for logging to a text file which is very strange. Microsoft at least provides some solutions to this problem on their website. I have...
0
8608
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8543
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9088
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8964
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8808
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7630
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4324
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2975
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 we have to send another system
2
2241
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.