Both sides previous revisionPrevious revisionNext revision | Previous revision |
sunshop:installation-script [2024/02/20 18:56] – twt-chris | sunshop:installation-script [2024/02/25 16:07] (current) – twt-chris |
---|
The script will attempt to connect to the database. Depending on your settings, you may get different results at this point. Below is a list of some results you may get. | The script will attempt to connect to the database. Depending on your settings, you may get different results at this point. Below is a list of some results you may get. |
| |
"Connection complete!" - This means the connection has been made, you may proceed. | * //"Connection complete!"// - This means the connection has been made, you may proceed. |
| |
"You have specified a non existent database... Please wait." - If the database you specified needs to be created the installation script will attempt to create it. If it is unable to create the database, you will need to make sure you have the permissions to do so. | * //"You have specified a non existent database... Please wait."// - If the database you specified needs to be created the installation script will attempt to create it. If it is unable to create the database, you will need to make sure you have the permissions to do so. |
| |
"Warning: Access denied for user: 'user@localhost' (Using password: Yes)" - The wording of this error may vary but this ultimately means that the username or password you entered were incorrect. This can also mean that you do not have access to the database. | * //"Warning: Access denied for user: 'user@localhost' (Using password: Yes)"// - The wording of this error may vary but this ultimately means that the username or password you entered were incorrect. This can also mean that you do not have access to the database. |
| |
"The database already exists." - This means the database you are trying to connect to already exists. At this point you can choose to continue regularly by selecting "Continue Normally" or you can choose to "Continue and Reset Database". If you select the first option it is a good idea to define a value for the "$dbprefix" in the "config.php", as discussed in the previous step. This way, you do not overwrite any data you have in your database that you may need later. If you select the second option, the tables needed will be erased and recreated. DO NOT select to reset if you have data you need in the database defined in your "config.php" file. | * //"The database already exists."// - This means the database you are trying to connect to already exists. At this point you can choose to continue regularly by selecting "Continue Normally" or you can choose to "Continue and Reset Database". If you select the first option it is a good idea to define a value for the "$dbprefix" in the "config.php", as discussed in the previous step. This way, you do not overwrite any data you have in your database that you may need later. If you select the second option, the tables needed will be erased and recreated. DO NOT select to reset if you have data you need in the database defined in your "config.php" file. |
| |
"Can't connect to local MySQL server through socket..." - If you get the above error you must check to make sure that MySQL is running on your server. If you believe it is, make sure you have the proper location to the mysql.sock defined in your my.conf file. | * //"Can't connect to local MySQL server through socket..."// - If you get the above error you must check to make sure that MySQL is running on your server. If you believe it is, make sure you have the proper location to the mysql.sock defined in your my.conf file. |
| |
If you get any other error message and need assistance, please contact us. | If you get any other error message and need assistance, please contact us. |
**Step 6: Install SunShop** | **Step 6: Install SunShop** |
| |
At this point you should see only one message "All SunShop tables and data have been installed successfully. Please continue to create an administrator account". If you get this message, continue to the next step. | At this point you should see only one message //"All SunShop tables and data have been installed successfully. Please continue to create an administrator account"//. If you get this message, continue to the next step. |
| |
If you get a message similar to "There seems to be a slight problem with the database..." make sure to note the error and open a ticket, if needed. You may need to go back and select the reset database option in order to continue. If you do reset the database, make sure the database is empty or you will lose all existing data. | If you get a message similar to //"There seems to be a slight problem with the database..."//, make sure to note the error and open a ticket, if needed. You may need to go back and select the reset database option in order to continue. If you do reset the database, make sure the database is empty or you will lose all existing data. |
| |
**Step 7: Create Administrator** | **Step 7: Create Administrator** |
| |
If you receive an error at this point, there was most likely an issue sending the verification email to confirm your installation. You don't need to take any immediate action as the install was successful, but you will need to edit the mail settings in the general settings once you login to SunShop. | If you receive an error at this point, there was most likely an issue sending the verification email to confirm your installation. You don't need to take any immediate action as the install was successful, but you will need to edit the mail settings in the general settings once you login to SunShop. |
| |
| **Continue to [[sunshop:final-steps|Final Steps]]** |