Sushi
Jun 7 2009, 04:18 PM
Well, I've created a database, a username, password, have set all the atributes of the of the user to the database, typed all of the info needed but I got an error saying: "Unable to connect to the database:Could not connect to MySQL"
I've tried to connect via phpmyadmin and it didn't connect either, it keeps asking me the username and pass, I'm sure I've typed both of them correctly.
My page is hosted at vndv.com server.
What could it be?
swordz
Jun 7 2009, 07:26 PM
If you tell us your site name and the connection details you're trying except password, we'll actually have a chance to help you.
swordz
Sushi
Jun 7 2009, 08:16 PM
QUOTE(swordz @ Jun 7 2009, 07:26 PM)

If you tell us your site name and the connection details you're trying except password, we'll actually have a chance to help you.
swordz
website address:querodegraca.vndv.com
database username: querodegraca_dados
database name: querodegraca_bancode
mysql server: localhost
pabl-o
Jun 7 2009, 08:54 PM
I'm having the same problem. I'm trying to connect with PHPMyAdmin and it keeps asking my username and password. The user/pwd window disappears for a second and appears again asking for user and pwd. No error msg, only asking again. Im sure the data entered is correct but I cannot connet.
My website addres is web00100.uuuq.com
swordz
Jun 7 2009, 09:28 PM
Again, tell us your user name, we may be able to help.
Sushi - the maximum length for user/db name is 16 characters. Please create new (shorter) names, and then try.
swordz
Sushi
Jun 7 2009, 09:46 PM
QUOTE(swordz @ Jun 7 2009, 09:28 PM)

Again, tell us your user name, we may be able to help.
Sushi - the maximum length for user/db name is 16 characters. Please create new (shorter) names, and then try.
swordz
ah, that was my problem, my username is querodegraca which has 12 characters, so I guess there was 4 characters left ou 3 if that underscore( querodegraca_ ) counts as a character, Thank you, but now i've another question: can't I connect to the ftp via Joomla? Because so far I couldn't
swordz
Jun 7 2009, 09:51 PM
Sushi - my first comment was at pabl-o.
You need to create new shorter db/user names.
swordz
Sushi
Jun 7 2009, 10:00 PM
QUOTE(swordz @ Jun 7 2009, 09:51 PM)

Sushi - my first comment was at pabl-o.
You need to create new shorter db/user names.
swordz
Yeah I've noticed it later, and it worked, but what about the ftp on joomla, can it work?
Sugarblossoms
Jun 7 2009, 10:00 PM
QUOTE(Sushi @ Jun 7 2009, 09:46 PM)

ah, that was my problem, my username is querodegraca which has 12 characters, so I guess there was 4 characters left ou 3 if that underscore( querodegraca_ ) counts as a character, Thank you, but now i've another question: can't I connect to the ftp via Joomla? Because so far I couldn't
That underscore counts. And you can't do that with Joomla (or with any other scripts). You have to use an FTP client or upload whatever you needed to upload via the Zymic file manager.
Sushi
Jun 7 2009, 10:02 PM
QUOTE(Sugarblossoms @ Jun 7 2009, 10:00 PM)

That underscore counts. And you can't do that with Joomla (or with any other scripts). You have to use an FTP client or upload whatever you needed to upload via the Zymic file manager.
That's too bad...

It makes it harder to configurate and manage my website and I think it's not worth such effort
DanHim
Jun 7 2009, 11:17 PM
Can someone Just tell everyone what the MySQL Sever is, it isn't localhost OBVIUOSYL. google have soemthing like, "myql8.google.com" so what is the MySQL Sever DB Host.
$dbhost=" What here!??? "; // Database Host
Can someone Just tell everyone what the MySQL Sever is, it isn't localhost OBVIUOSYL. google have soemthing like, "myql8.google.com" so what is the MySQL Sever DB Host.
$dbhost=" What here!??? "; // Database Host
swordz
Jun 7 2009, 11:54 PM
It is localhost.
You "OBVIUOSYL" have something else wrong. For the 3rd time in THIS THREAD we require your connection info (without password) and site name to help you.
swordz
pabl-o
Jun 8 2009, 06:31 AM
swordz
My problem was the lenght of the user name too. I've created a new one and it works now. Thanks.
Hien_VietNam
Jun 8 2009, 08:27 AM
This is my Problem:
Unable to connect to MySQL server. MySQL reported: Lost connection to MySQL server at 'reading initial communication packet', system error: 111.
Please tell me how to fix this problem!.
My Y!M: cyclo_0504@yahoo.com.vn
My mail : hoquanghien0504@gmail.com
This is a phrase in my cogfig.php file:
$data_host = 'ilovemylv.uuuq.com';
$data_name = 'ilovemylv_dataname';
$data_user = 'ilovemylv_username';
$data_pass = ****;
$tb_prefix = 'media_';
Am i fill it correctlly? Is the data_host correclly?
Please help me!
swordz
Jun 8 2009, 10:14 AM
The data host is localhost.
Of the two user names you have, the longer one will not work, but the shorter one will.
You should not post your password.
swordz
rs_dotprog
Jun 9 2009, 01:25 AM
good day everyone, this is my first post so be kind to me,, hahaha
i have an account named jaroman-skimboards.uuuq.com the account has 18 characters so when i create a dbase the number of characters will increase and will violate the 16 maximum length of characters, i think the problem was on the mysql dbase management page it says their that when creating a dbase/user
Only lowercase English alphabet letters, digits and $ allowed with a maximum of 53 characters.
i think it should be better if the web master change it to 16 characters, for us newbies won't encounter problems like this,,
thanxs,
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.