Installation, Configuration, & Upgrades  :: 
Ultra N00b question on installing
 Top

  • Ok, im trying a fresh install of the latest release, (0.72, tried 0.75 first but had same errors) I uploaded all the files as they came and ran install.php i set the chmods entered my DB information, but get the errors:

    Code

    Warning: mysql_connect(): Access denied for user: 'nuke@localhost' (Using password: YES) in /home/stormcl/public_html/pnadodb/drivers/adodb-mysql.inc.php on line 237


    OR

    Code

    No database made.Error connecting to db
    Program: /home/stormcl/public_html/install/db.php - Line N.: 45
    Database: stormcl_nuke
    Error (1044) : Access denied for user: 'stormcl_nuke@localhost' to database 'stormcl_nuke'


    it varies each time even though im entering the same info.

    If there is no simple solution then i can give you cpanel access + ftp access to have a look, my msn is : guyellis1988@hotmail.com if its easier to speak on there

    thankyou
  • If you host gives you access to phpMyAdmin, create the database; be sure you're entering the correct info into the PostNuke option, then choose to do a new install without creating the database. In some cases hosts block create through MySQL for anything besides a creation system or phpMyAdmin.

    --
    UGN Security Administrator.
    Looking for a good quality webhost? I choose
  • I removed all databases and tried to create a new one via phpMyAdmin and got :

    Code

    Database nuke running on localhost
    Error

    SQL-query :  

    CREATE DATABASE `nuke` ;



    mysql said:


    #1044 - Access denied for user: 'stormcl@localhost' to database 'nuke'


    its all doing my nut in now :-S
  • In general if your hosted then you can't use phpMyAdmin to create the database. You must use your hosting control panel. The error is telling you that you don't have permission to create the database. You should consult your host for further support in resolving this issue.

    -Mark
  • I have created it via cpanel before i did via phpMyAdmin, the initial errors i was getting were from when the DB was created throgh cpanel.
  • If you've already created the database via cpanel why try to create it again via phpMyAdmin? In your first post the credentials provided in the first error are incorrect and different to the ones provided in the second error.

    Firstly check that your database user has permissions to create tables inside your newly created database (use phpMyAdmin for this). If not consult the mysql docs and/or your host on the setting of permissions.

    If this is the case then the PN installation should procede without problems (uncheck the create database box - you have one already).

    -Mark
  • Looks like you're not putting in the right connection information. Look at your CPanel MySQL page, notice the database and user names, they start with your CPanel username. nuke wouldn't be the username it'd be cpaneluser_nuke where cpaneluser is the username used to log in to CPanel. Likewise on the database name
  • Mhalbrook, i have tried that also, i believe i tried every combination of (well mine is stormcl_) in each box and whatever, no luck with that (i still will give cpanel details if someone is willing to look) Mark, Im not sure how to create tables in phpMyAdmin so havnt tried your method :-S
This list is based on the users active over the last 60 minutes.