M
MaRiOs
Guest
Ok we ve just created a db named sitebuilder and a user sbuser on it...
but after the installation the site gives the error :
Warning: mysql_pconnect(): Access denied for user: 'sb_user@localhost' (Using password: YES) in /usr/local/sitebuilder/kernel/db/mysql.php on line 25
Could not connect to the database
The logs are like that :
[1-July-2005 9:19:13] Log of installation process
[1-July-2005 9:19:13] Create dirs...........
[1-July-2005 9:19:13] The dir "temp" is created ...Ok
[1-July-2005 9:19:13] The dir "work" is created ...Ok
[1-July-2005 9:19:13] The dir "users" is created ...Ok
[1-July-2005 9:19:13] Create config file..........
[1-July-2005 9:19:13] Process sql-query: USE sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Cant detect version of database. Suppose that database version is 0
[1-July-2005 9:19:13] Process sql-query: use sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Process sql-query: ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_users' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Process of installation is interrupted, as already there is a database with a name "sitebuilder"
[1-July-2005 9:19:13] Alter table sb_users
[1-July-2005 9:19:13] Process sql-query: INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_settings' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')
I tried to edit the /usr/local/sitebuilder/kernel/db/mysql.php to change the db user but the file is encrypted...
What can i do to clear it and install it again ?
but after the installation the site gives the error :
Warning: mysql_pconnect(): Access denied for user: 'sb_user@localhost' (Using password: YES) in /usr/local/sitebuilder/kernel/db/mysql.php on line 25
Could not connect to the database
The logs are like that :
[1-July-2005 9:19:13] Log of installation process
[1-July-2005 9:19:13] Create dirs...........
[1-July-2005 9:19:13] The dir "temp" is created ...Ok
[1-July-2005 9:19:13] The dir "work" is created ...Ok
[1-July-2005 9:19:13] The dir "users" is created ...Ok
[1-July-2005 9:19:13] Create config file..........
[1-July-2005 9:19:13] Process sql-query: USE sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Cant detect version of database. Suppose that database version is 0
[1-July-2005 9:19:13] Process sql-query: use sitebuilder
[1-July-2005 9:19:13] Result:...... Ok
[1-July-2005 9:19:13] Process sql-query: ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_users' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> ALTER TABLE sb_users CHANGE login login VARCHAR( 255 ) NOT NULL
[1-July-2005 9:19:13] Process of installation is interrupted, as already there is a database with a name "sitebuilder"
[1-July-2005 9:19:13] Alter table sb_users
[1-July-2005 9:19:13] Process sql-query: INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')
[1-July-2005 9:19:13] Result:...... Error: Table 'sitebuilder.sb_settings' doesn't exist (code=1146)
[1-July-2005 9:19:13] Error on query >> INSERT INTO sb_settings (prop_value, prop_name) VALUES ('en_US', 'sb_language')
I tried to edit the /usr/local/sitebuilder/kernel/db/mysql.php to change the db user but the file is encrypted...
What can i do to clear it and install it again ?