Copy link to clipboard
Copied
Hi
I'm using CS4 DW with all the updates. I can log onto my local mysql database but when I setup for the one on my remote webserver
I get the following error
MySql Error 2000
mysqlind cannot connect to MYSQL4.1 using old authentication
This seems to be a standard error, is there a fix or am I missing something?
thanks
Ian
Copy link to clipboard
Copied
MySQL 4.1 introduced a more secure password system. You need to upgrade the password for your MySQL user account. The easiest way is to create a new user account.
Copy link to clipboard
Copied
Hi David
thanks for the response, I changed the mysql database password to the following to try it (I've changed it again now)
jen00dorfstarw00d
this still gave me the same error.
Is this the correct format? 21 long including 4 numbers?
thanks
Ian
Copy link to clipboard
Copied
You can use whatever you like for the password. It's the way the password is encrypted by MySQL that changed in MySQL 4.1.
It sounds as though you are using a remote database that hasn't been upgraded properly. MySQL 4.1 came out so long ago that I no longer remember the exact details, but you needed to run a script to update the MySQL privileges table. This also updated the way passwords were stored.
Copy link to clipboard
Copied
Hi David
thanks for the assist, I've done some more tests (Ok I read some manuals your included;-) )
Using PHP myadmin and mysql administrator I can log into my remote mysql database using the same settings I use in DW.
Using CS4 I'm selecting the database tab and then MYSQL connection
In the window I'm using:
Conection name: test
mysql server: the ip address given to me by the isp
username: xyz
password: password
If I then press the select database button I get the error message.
The remote mysql database is running mysql 5.0.77 via tcpip
The ISP is Fasthosts based in Gloucester
My logic is that if I can log on using phpmyadmin and mysql administrator then I'm doing something wrong in Dreamweaver. Just cant see what as I can log onto my Wamp mysql database with no problems.
Any ideas?
thanks
Ian
Copy link to clipboard
Copied
hello sir, am isaac from u
ganda i also wanted to upload an im
ge in mysql database but i failed until igot on your tutorial about
and i tried to use it but it seems i wasnet connecting to the server please help and correct this Error. for now am using "localhost" where i need to specify the "pass" and "User" but i don't understand this systax you used here
please help me
<?php define ('MAX_FILE_SIZE', 1024 * 50); ?>
<?php require_once('Connections/testConn.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}}$editFormAction = $_SERVER['PHP_SELF'];
Find more inspiration, events, and resources on the new Adobe Community
Explore Now