473,508 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help - mysql + php + phpMyAdminb

I'm trying to set them up using this guide:
http://www.webmasterstop.com/48-4.html

the first time I did this, it worked fine, and after a month, it stopped
working (Dreamweaver; no tables found all of a sudden), so I uninstalled
mysql + phpmyadmin and tried again.

when I load up localhost/phpAdmin on my comp it says: #1045 - Access denied
for user 'root'@'localhost' (using password: NO)

I did edit the config file with root and password where appropriate, and
when I installed mysql I gave the password (which was "password").

why isn't it working?
Aug 20 '05 #1
3 1697
Trevor
2 New Member
Would this perhaps be owt to do with my very good friend the pma 'config.inc.php' page? Lord, but I've had a struggle with that.

Might be worth checking the $cfg['Servers'] section, which I've pasted below:

.................................................. .................................................. .....
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'your_usr_name'; // MySQL user
$cfg['Servers'][$i]['password'] = 'your_pwd'; // MySQL password (only needed
.................................................. .................................................. .....

Fun, though, isn't it?

Trevor
Aug 20 '05 #2
The Good Doctor Dog Balls wrote:
I'm trying to set them up using this guide:
http://www.webmasterstop.com/48-4.html

the first time I did this, it worked fine, and after a month, it stopped
working (Dreamweaver; no tables found all of a sudden), so I uninstalled
mysql + phpmyadmin and tried again.

when I load up localhost/phpAdmin on my comp it says: #1045 - Access denied
for user 'root'@'localhost' (using password: NO)

I did edit the config file with root and password where appropriate, and
when I installed mysql I gave the password (which was "password").

why isn't it working?


My first guess is that you had MySQL 4.0 before, and you reinstalled
with MySQL 4.1. PHP does not support the password encryption method
used by default in MySQl 4.1. You must start your MySQL serve with the
--old-passwords flag.

See http://dev.mysql.com/doc/mysql/en/php-problems.html
and the note about PHP in http://dev.mysql.com/doc/mysql/en/old-client.html

Regards,
Bill K.
Aug 21 '05 #3
THANK you so much that's what happened!

By the way, any one use Dreamweaver here? It keeps saying "Could not find
selected tag node" as try and insert an insert record behaviour.
"Bill Karwin" <bi**@karwin.com> wrote in message
news:de*********@enews4.newsguy.com...
The Good Doctor Dog Balls wrote:
I'm trying to set them up using this guide:
http://www.webmasterstop.com/48-4.html

the first time I did this, it worked fine, and after a month, it stopped
working (Dreamweaver; no tables found all of a sudden), so I uninstalled
mysql + phpmyadmin and tried again.

when I load up localhost/phpAdmin on my comp it says: #1045 - Access
denied for user 'root'@'localhost' (using password: NO)

I did edit the config file with root and password where appropriate, and
when I installed mysql I gave the password (which was "password").

why isn't it working?


My first guess is that you had MySQL 4.0 before, and you reinstalled with
MySQL 4.1. PHP does not support the password encryption method used by
default in MySQl 4.1. You must start your MySQL serve with
the --old-passwords flag.

See http://dev.mysql.com/doc/mysql/en/php-problems.html
and the note about PHP in
http://dev.mysql.com/doc/mysql/en/old-client.html

Regards,
Bill K.

Aug 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2557
by: pancho | last post by:
Greetings, I need help configuring/building PHP3 with MySQL as a DSO on a Solaris 8 box - this module is needed to host some existing sites I will be migrating Note. I built PHP4 from source and...
0
1437
by: root | last post by:
hi there, I've tried to install mysql-3.23.55.tar.gz but failed. Firstly, I've created directory /home/users/mysql and add group for mysql. Those are the command that I've used previously: ...
0
1734
by: Richard Gabriel | last post by:
Hi everyone, Since we upgraded to MySQL 4.0.13 from 3.23, we have been getting table corruption often. It happens about twice per week (with about 500 queries per second average). I have even...
0
3361
by: Ryan Schefke | last post by:
------=_NextPart_000_0077_01C34C8B.2B90C960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ..I just sent this out to the win32 distribution list but no one has...
0
2306
by: Mark Adams | last post by:
I really need some help with this. MySQL will not start on boot despite everything I've done to make sure that it is set to do so. When I start it as root from a terminal with...
8
5452
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
4
2281
by: Mark | last post by:
the Following bit of code doesn't work. It seems to respond to the second, starting with 'add iif statement for Good Practice', but not to the first, starting 'add iif statement for archived' ...
2
2889
by: trihanhcie | last post by:
I m currently working on a Unix server with a fedora 3 as an os My current version of mysql is 3.23.58. I'd like to upgrade the version to 5.0.18. After downloading from MYSQL.COM the package on...
31
4545
by: Extremest | last post by:
I have a loop that is set to run as long as the arraylist is > 0. at the beginning of this loop I grab the first object and then remove it. I then go into another loop that checks to see if there...
0
7229
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,...
0
7129
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...
0
7398
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...
1
7061
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
5637
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,...
1
5057
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
4716
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
3208
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...
1
769
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.