Guten Tag
vani...@gmail.com,
am Montag, 21. Juli 2014 um 06:57 schrieben Sie:
> "There was an error connecting to database. Access denied for user
> 'bugs'@'localhost' (using password: YES) This might have several
> reasons etc etc..." in my /localconfig file?
The error message is pretty clear, you either didn't create the
configured user or didn't gave it the needed permissions.
http://dev.mysql.com/doc/refman/5.1/en/create-user.html
http://dev.mysql.com/doc/refman/5.1/en/account-names.html
> $db_port = 0; (initially this was 0,but i have changed to 8080(i
> have given this port number while installing mysql))
8080 is very uncommon for MySQL, instead it's common for Apache
Tomcat, and there shouldn't be the need to change the MySQL port
during installation at all. Especially I wouldn't not suggest to
change it additionally to 8080 besides 3306, which seems to be used as
well, else you wouldn't be able to connect to 3306 using telnet like
in your example below.
So, change it back to 3306 and use only that port, especially if you
have problems getting everything working.
> telnet localhost 3306
[...]
> Trying 127.0.0.1...
> Connecting to localhost.
> J
5.0.77�g>>#/d-P-0, GVX7HE_2w$J'mysql_native _password
> Connection to host lost
> (note: same problem with port 3306 also)
That doesn't tell anything, you can't expect connecting to a MySQL
server using telnet, sending some raw data and get a useful answer.
You need to at least talk the correct protocol, that's why MySQL comes
with a special client to connect to the server. Simply ignore this,
MySQL is already telling what your problem is: You need to create a
user with proper permissions in the correct syntax.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme
http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow