<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "SQL Connection Error (MySQL username password maybe?)"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "SQL Connection Error (MySQL username password maybe?)"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>SQL Connection Error (MySQL username password maybe?)</title>
				<description><![CDATA[ When trying to connect to:<br /> <a class="snap_shots" href="http://www.motuning.com/guestbook" target="_blank" rel="nofollow">http://www.motuning.com/guestbook</a><br /> I get this error:<br /> [quote]<br /> Warning: mysql_connect(): Access denied for user: 'bdmeyer_agbook1@localhost' (Using password: YES) in /home/bdmeyer/public_html/guestbook/lib/mysql.class.php on line 30<br /> Connection Error<br /> --------------------------------------------------------------------------------<br /> <br /> MySQL Error : Connection Error<br /> Error Number: 1045 Access denied for user: 'bdmeyer_agbook1@localhost' (Using password: YES)<br /> Date        : Sun, October 17, 2004 11:43:15<br /> IP          : 24.211.100.163<br /> Browser     : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)<br /> Referer     : <br /> PHP Version : 4.3.8<br /> OS          : Linux<br /> Server      : Apache/1.3.31 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a PHP-CGI/0.1b<br /> Server Name : www.motuning.com<br /> <br /> [/quote]<br /> <br /> I believe it is (but not certain) the password that goes here in config.inc.php:<br /> <br /> [quote]<br /> $GB_DB["dbName"] = "changd_agbook1";<br /> $GB_DB["host"]   = "localhost";<br /> $GB_DB["user"]   = "changd_agbook1";<br /> $GB_DB["pass"]   = "SumPasswd";<br /> [/quote]<br /> On a working guestbook I just upgraded, it has what looks like an obfuscated password like:<br /> $GB_DB["pass"]   = "s_2wery46dhde2"; (made up)<br /> In a message on this forum someone described to enter 'the password for your sql database.' So I entered it in plain text also. Niether works.<br /> Two things are possible:<br /> 1.) I need that password to be obfuscated hash of the correct password. (if so, how do I get the hash?)<br /> 2.) I don't have the correct MySQL password entered.<br /> <br /> Please note: I am not referring to the test 123 username / passwor combo. I know exactly how to fix that, and this isn't in the admin part. This is just getting to the guestbook period. <br /> <br /> I guess there is a third option:<br /> line 30 referenced in the error message is the checksessionID thing discussed in this forumn.<br /> [quote]$AUTH = $gb_auth-&gt;checkSessionID();[/quote]<br /> I have deleted relevant cookies and all temp internet files, to no avail.<br /> <br /> <br /> Any help will be greatly appreciated.<br /> This is from a 2.2 to 2.31 upgrade.<br /> <br /> Bruce Meyer]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10968.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10968.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 18:52:38]]> GMT</pubDate>
				<author><![CDATA[ BadBoo]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Ok the SQL password shuld be in plaintext in your config file. Looking at the error all I can say is check your information is correct. <br /> <br /> Yo usay you upgraded from 2.2 to 2.3.1. Could you do me a favour and download www.carbonize.co.uk/install.zip, upload the install.php from the zip to your guestbook folder and then run it (once you sort out your database access problem). It should upgrade your guestbook database from 2.2 to 2.3.1 but it will give you errors. I would be grateful if you could send me the entire error message so I can fix it. Your guestbook will work fine once done (apart from your SQL problem but until thats fixed you can't use the install.php anyways)<br /> <br /> So as I said check the information in the config file. You may have just typo'd a letter somewhere.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10969.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10969.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 19:09:06]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>Thanks</title>
				<description><![CDATA[ Thanks, I have already updated all the tables manually using MyPhpAdmin, created the pics folder, changed the case from upper to lowercase in last-visit, and changed from null etc etc. This is the second one I have done, so I am not concerned about the admin page (as I stated figuring that someone would mistake this for a admin loop error)<br /> <br /> Rather, i think i need to change the password for the sql user account accessing the database. I don't see how to change the sql user password in myPhpAdmin. Do you know how to do that? <br /> <br /> One thing I have thought of is to delete the user, and then recreate the user with a known password.<br /> <br /> Another point, on the other web site with a working Advanced Guestbook 2.31 (that I upgraded by hand), if I change the password to plain text, I get this exact same error, when i go back to the obfuscate hash, it works again. I think the problem is, determining how the hash work, and getting the correct hash put in place. Any ideas?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10971.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10971.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 19:25:05]]> GMT</pubDate>
				<author><![CDATA[ BadBoo]]></author>
			</item>
			<item>
				<title>Figured it out</title>
				<description><![CDATA[ Ok. Well, everything pointed to it being a sql connection error because of an invalid SQL password. I deleted the account in cpanle SQl admin (not phpMySql) and recreated it with a known password, put in the hash (not plain text) and it works again. Sure would like to know how the has is created, so I could change my sql password at will.<br /> <br /> Thx for the help Carbonize<br /> <br /> --BadBoo]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10975.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10975.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 20:32:17]]> GMT</pubDate>
				<author><![CDATA[ BadBoo]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Carbonize"]Ok the SQL password shuld be in plaintext in your config file. Looking at the error all I can say is check your information is correct. <br /> <br /> Yo usay you upgraded from 2.2 to 2.3.1. Could you do me a favour and download www.carbonize.co.uk/install.zip, upload the install.php from the zip to your guestbook folder and then run it (once you sort out your database access problem). It should upgrade your guestbook database from 2.2 to 2.3.1 but it will give you errors. I would be grateful if you could send me the entire error message so I can fix it. Your guestbook will work fine once done (apart from your SQL problem but until thats fixed you can't use the install.php anyways)<br /> <br /> So as I said check the information in the config file. You may have just typo'd a letter somewhere.[/quote]<br /> <br /> Carbonize, do you still need the error message?  Have a 2.2 guestbook that has not yet been upgraded.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10977.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10977.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 20:39:38]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote]Carbonize, do you still need the error message? Have a 2.2 guestbook that has not yet been upgraded.[/quote]<br /> <br /> That's from me.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10978.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10978.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 20:41:47]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Ahhhh Amber of the many guestbooks. Yes I would be grateful for the error report. I'll also answer the email thats just arrived from you lol.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3724/10979.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3724/10979.php</link>
				<pubDate><![CDATA[Sun, 17 Oct 2004 21:07:48]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
	</channel>
</rss>