Cannot create Admin account
-
vidar.ostevik
- Posts: 2
- Joined: Wed 19. Jul 2006, 21:55
Cannot create Admin account
Hi!
I'm having a problem during the installation process. In step 2, I can't create an Admin account..? After filling in username, password and e-mail, the installation program says Check your admin user name and password!.
I'm installing this on my laptop, running XP Pro, Apache 1.3.35, php 4.3.11, and MySQL 5.0.11 using old passwords.
When opening MySQL admin, and opening the schema (Database), I can see that the data has been installed. Any suggestions?
Regards Vidar
I'm having a problem during the installation process. In step 2, I can't create an Admin account..? After filling in username, password and e-mail, the installation program says Check your admin user name and password!.
I'm installing this on my laptop, running XP Pro, Apache 1.3.35, php 4.3.11, and MySQL 5.0.11 using old passwords.
When opening MySQL admin, and opening the schema (Database), I can see that the data has been installed. Any suggestions?
Regards Vidar
To re-enable setup remove the line
in setup.conf.inc.php.
Code: Select all
$NO_ACCESS = true;-
Pappnase
helloDeXXus wrote:To re-enable setup remove the linein setup.conf.inc.php.Code: Select all
$NO_ACCESS = true;
did we both start the same good game again
-
Pappnase
-
vidar.ostevik
- Posts: 2
- Joined: Wed 19. Jul 2006, 21:55
DB user and Admin account are not the same! Db username and password are something you create (or have been given by your host).
You provide phpWCMS install script with this username, password, the address to your MySQL database and the name of the database you want phpWCMS to use (where you have already created a database for phpWCMS).
You make sure you checkmark "Create admin account" and leave default (u:webmaster p:admin).
If everything is GREEN then phpWCMS is confirming that your answers were entered in the proper format for it to proceed. (NOT that it has "connected" yet)
Then phpWCMS uses this info (that you gave) to try connecting to database and creating tables and "default" Admin user.
If you give it a database URL, username, password that is not right (or it cannot connect, because the database is down)
You will get a message that says:-->Check your admin user name and password!
If all goes well... Later you login with "default" Admin user and change Admin users to your liking. confirm that it is working and then delete SETUP folder.
You provide phpWCMS install script with this username, password, the address to your MySQL database and the name of the database you want phpWCMS to use (where you have already created a database for phpWCMS).
You make sure you checkmark "Create admin account" and leave default (u:webmaster p:admin).
If everything is GREEN then phpWCMS is confirming that your answers were entered in the proper format for it to proceed. (NOT that it has "connected" yet)
Then phpWCMS uses this info (that you gave) to try connecting to database and creating tables and "default" Admin user.
If you give it a database URL, username, password that is not right (or it cannot connect, because the database is down)
You will get a message that says:-->Check your admin user name and password!
If all goes well... Later you login with "default" Admin user and change Admin users to your liking. confirm that it is working and then delete SETUP folder.
Same problem
Hi
I got the same Problem. On first setup screen, I added all all the stuff correctly. When trying to add an admin account on saving the second screen, I get the Message:
Warning: mysql_connect(): Access denied for user 'db_user'@'localhost' (using password: YES) in
/www/htdocs/w007075f/web/Durbusch2/setup/setup.php on line 100
Instead "db_user" there should be the database user I entered an saved on first screen - but it isn't
>> error in setup script?
I got the same Problem. On first setup screen, I added all all the stuff correctly. When trying to add an admin account on saving the second screen, I get the Message:
Warning: mysql_connect(): Access denied for user 'db_user'@'localhost' (using password: YES) in
/www/htdocs/w007075f/web/Durbusch2/setup/setup.php on line 100
Instead "db_user" there should be the database user I entered an saved on first screen - but it isn't
>> error in setup script?
-
Pappnase
Re: Same problem
helloUups wrote:Hi
I got the same Problem. On first setup screen, I added all all the stuff correctly. When trying to add an admin account on saving the second screen, I get the Message:
Warning: mysql_connect(): Access denied for user 'db_user'@'localhost' (using password: YES) in
/www/htdocs/w007075f/web/Durbusch2/setup/setup.php on line 100
Instead "db_user" there should be the database user I entered an saved on first screen - but it isn't
>> error in setup script?
then YOU have the wrong settings setup in the setup script! the setup script is ok
Found Solution
Sorry for the post
Solution is: When creating the MySQL Databese at least on some site admin tools, you must create explicitly a database *within* this new created databse. As long as this db inside the created login does'nt exist, nothing works.
>> Go to Site-Admin, open you MySQL Admin tool (i.e. mysladmin) and check if the databese existst *within* the database you use for login.
(For the developers: Gallery, another free product, seems to check this on installation and solve the Problem by itself. Maybe the code used there is useful?)
Solution is: When creating the MySQL Databese at least on some site admin tools, you must create explicitly a database *within* this new created databse. As long as this db inside the created login does'nt exist, nothing works.
>> Go to Site-Admin, open you MySQL Admin tool (i.e. mysladmin) and check if the databese existst *within* the database you use for login.
(For the developers: Gallery, another free product, seems to check this on installation and solve the Problem by itself. Maybe the code used there is useful?)
Re: Same problem
Nothing changed in your codePappnase wrote: then YOU have the wrong settings setup in the setup script! the setup script is ok
Seems when creating a database in my website Admin tool just an accout is created but not the database itself.
-
Pappnase
Re: Same problem
hehe it's not my code!Uups wrote:Nothing changed in your codePappnase wrote: then YOU have the wrong settings setup in the setup script! the setup script is ok
Seems when creating a database in my website Admin tool just an accout is created but not the database itself.