Sjobbe Posted July 20, 2013 Posted July 20, 2013 Maybe this is a stupid question, but can you make nwe work with a database where the Databasename is like database_1? if I do that it just say "Database down or wrong DB settings. Please try again later." Quote
rockwood Posted July 20, 2013 Posted July 20, 2013 follow the file location :-"nwe\config" file name:-config.php // Database host $dbhost="localhost"; // Database username $dbuser="database username"; // Database password $dbpass="database password"; // Database name $dbname="Databse Name"; Quote
Script47 Posted July 20, 2013 Posted July 20, 2013 follow the file location :-"nwe\config" file name:-config.php // Database host $dbhost="localhost"; // Database username $dbuser="database username"; // Database password $dbpass="database password"; // Database name $dbname="Databse Name"; No offence, but did you read what I read? Your answer has nothing to do with the question from what I can see. @Sjobbe, I'm not sure as don't use NWE but try change the DB name to something else and if it works then will know there is conflicts with that name mate. :) Quote
Venom Posted July 20, 2013 Posted July 20, 2013 Has the user been assigned to the database with sufficient privileges? Quote
Sjobbe Posted July 20, 2013 Author Posted July 20, 2013 It Works fine when i don't have _ in the dB name, but i was just wondering about if it is possible to get it to work with _ in the db name Quote
Script47 Posted July 20, 2013 Posted July 20, 2013 Is the "_" needed just wondering? Maybe if you did something like database-1 or db1? Just some suggestions. Quote
rockwood Posted July 21, 2013 Posted July 21, 2013 i am not good in english but as my understanding you have to make database in your mysql Quote
a_bertrand Posted July 21, 2013 Posted July 21, 2013 Sjobbe: when you get this message it means your configuration is wrong. Beside that you can use more or less whatever database name as long as it's accepted by MySQL. Quote
Sjobbe Posted July 22, 2013 Author Posted July 22, 2013 Sjobbe: when you get this message it means your configuration is wrong. Beside that you can use more or less whatever database name as long as it's accepted by MySQL. if I make a new install and type ind example database_1 it says Please double check the database username and password. but if I do it on dataname without _ there is no problem. /Sjobbe Quote
a_bertrand Posted July 22, 2013 Posted July 22, 2013 and does database_1 exists before you install it? If not then that's the reason why it doesn't work. Other than that, I do know MySQL uses the _ (underscore) as special character, so I would use a - (minus) instead. Quote
Sjobbe Posted July 23, 2013 Author Posted July 23, 2013 and does database_1 exists before you install it? If not then that's the reason why it doesn't work. Other than that, I do know MySQL uses the _ (underscore) as special character, so I would use a - (minus) instead. yes it does excist. its because the database my friend have atm, when I need to make a new database, it create it and name it, so it if I dont use the main database it will come with a _1, _2 _3 etc. its a part of a webhost he have. Quote
a_bertrand Posted July 23, 2013 Posted July 23, 2013 Well I tested on my side, and it works perfectly with an _1 or _2 (I tested with the name db, and created db_1 and db_2). So it must be something on your side, as I don't see anything on the code which would prevent it. Quote
HauntedDawg Posted July 23, 2013 Posted July 23, 2013 Please remember some CPanels require the login username in front of the DB (depends on the server settings). So if we were to say to login to CPanel the username is nwe, and the database is "database_1", you would essentially put "nwe_database_1". Quote
HauntedDawg Posted July 23, 2013 Posted July 23, 2013 yes it does excist. its because the database my friend have atm, when I need to make a new database, it create it and name it, so it if I dont use the main database it will come with a _1, _2 _3 etc. its a part of a webhost he have. Only read this post now. Are you perhaps with hetzner? If so, when you request a new database, they would have sent you an email with all the login details. Quote
Sjobbe Posted July 23, 2013 Author Posted July 23, 2013 Only read this post now. Are you perhaps with hetzner? If so, when you request a new database, they would have sent you an email with all the login details. he have a danish company called starthotel / Web10. but I think I will just take it over to my own server instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.