Hi,
first of all, an really good gallery.
But i have a problem installing it. At Step installing the database under password i there it accept only 6 characters, but my password is 8 characters long. What can i do to enter the password with
an longer password ?
Error code:
Warning: mysqli_real_connect() [function.mysqli-real-connect]: (28000/1045): Access denied for user 'flebjmcn2'@'localhost' (using password: YES) in /flebjmcn/www.flexyweb.at/marsal-pub/gallery2/lib/adodb/drivers/adodb-mysqli.inc.php on line 109
Could't connect :
localhost: Access denied for user 'flebjmcn2'@'localhost' (using password: YES)
Why is this mysqli ? My database is MySQl 4.0 ?
Please help me
best reguards
)
Posts: 11026
I don't know where you're getting the size limit of 6 at. I regularly use password much longer than that for my databases without issue with G2.
That error means that one of the following is not correct:
username
password
database name
host (localhost)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Many thanks for Your speed reaction. But it seems, that in the password field when i go to the save button, that the php-script will cut the characters.
Here is what i get in the fields
Database type:
DB Hostname: MySQL 3.23.... and newer
DB Username: flebjmcn2
DB Password: 8character --> than by save-button only 6 characters
DB Name: usrdb_flebjmcn2
Table Prefix: g2_
Column Prefix: g_
Is there any possibility to put the database-informations in an config.php - file ?
With best reguards and thanks a lot
)
Posts: 11026
That's where G2 puts it, it creates a config.php file and puts the database connection information in there. However, to manually create it before the install, I don't think is possible.
There is NOTHING happening in G2 that's cutting those characters off. If there is, then you have something wrong with your install, or maybe, just maybe there's some character in your password that G2 (or mysql) doesn't like. Make sure you are using only alphanumeric passwords for MySQL, I've ran into problems with using symbols before. [A-Z,a-z,0-9] Make sure you're using a version of Gallery obtained from here, download a current copy of G2 here: http://codex.gallery2.org/Downloads
I have a 9 character password for one of my G2 installs I'm looking at right now.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Many thanks !
)
I have done it like this. I install it locally on my UNIX - Testserver and it runs. Now i'll upload it to my "not willing installation...", editing the config.php, uploading the MySQL-Database ... and so on - so i think it will work
Many Thanks
Posts: 4
For all who has an nearly problem:
It was the .htaccess with mod_rewrite On. You have to deactivite it. Than the installation is no problem.
Now I have an other problem. How can i use the gallery with an .htaccess file ?
with best reguards
Posts: 11026
Huh? That doesn't make sense. How did you even have an .htaccess file with mod_rewrite turned on in your Gallery before installing? G2 doesn't ship with an .htaccess file in it's directory to begin with.
What are you doing? Are you rewriting a sub-directory of your site to a different sub-domain? Gallery needs to be installed from the same URL that you're going to have visitors accessing it from.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here