Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
No database connection..
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="blommas" data-source="post: 64776" data-attributes="member: 10866"><p><span style="color: #222222">I made a PHPretro, with holograph Emulator. But when I try to connect to it with holographemulator.exe it just says "No database connection"</span></p><p><span style="color: #222222">Heres my config files:</span></p><p><span style="color: #222222"></span></p><p><span style="color: #222222">/server/bin/debug/bin/</span></p><p><span style="color: #222222">[PHP] host=localhost port=3306 database=holodb username=root password=admin [/PHP]</span></p><p><span style="color: #222222">/xampp/htdocs/includes</span></p><p><span style="color: #222222"></span></p><p><span style="color: #222222">[PHP]<?php/*================================================================+\|| # PHPRetro - An extendable virtual hotel site and management|+==================================================================|| # Copyright (C) 2009 Yifan Lu. All rights reserved.|| # http://www.yifanlu.com|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.|| # http://www.meth0d.org|| # All images, scripts, and layouts|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.|+==================================================================|| # PHPRetro is provided "as is" and comes without|| # warrenty of any kind. PHPRetro is free software!|| # License: GNU Public License 3.0|| # http://opensource.org/licenses/gpl-license.php\+================================================================*/</span></p><p><span style="color: #222222">/*-------------------------------------------------------*\| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |+---------------------------------------------------------+| If you get any errors while attempting to connect to || MySQL, you will need to email your webhost because we || cannot tell you the correct values for the variables || in this file. |\*-------------------------------------------------------*/</span></p><p><span style="color: #222222">// ****** MASTER DATABASE SETTINGS ******// These are the settings required to connect to your Database.$conn['main']['prefix'] = "cms_";$conn['main']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql$conn['main']['host'] = "localhost"; //filename for SQLite$conn['main']['port'] = "3306";$conn['main']['username'] = "root";$conn['main']['password'] = "admin";$conn['main']['database'] = "holodb";</span></p><p><span style="color: #222222">// ****** HOTEL DATABASE SETTINGS ******// EXPERIMENTAL!! Only turn this on if you know what to do. Please submit all// bugs and your fix for them (if possible) to http://code.google.com/p/phpretro// These are the settings required to connect to your hotel database Database.$conn['server']['enabled'] = false;$conn['server']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql$conn['server']['host'] = "localhost"; //filename for SQLite$conn['server']['port'] = "3306";$conn['server']['username'] = "root";$conn['server']['password'] = "admin";$conn['server']['database'] = "holodb";?>[/PHP]</span></p><p><span style="color: #222222"></span></p><p><span style="color: #222222">Please help! :/</span></p></blockquote><p></p>
[QUOTE="blommas, post: 64776, member: 10866"] [COLOR=#222222]I made a PHPretro, with holograph Emulator. But when I try to connect to it with holographemulator.exe it just says "No database connection" Heres my config files: /server/bin/debug/bin/ [PHP] host=localhost port=3306 database=holodb username=root password=admin [/PHP] /xampp/htdocs/includes [PHP]<?php/*================================================================+\|| # PHPRetro - An extendable virtual hotel site and management|+==================================================================|| # Copyright (C) 2009 Yifan Lu. All rights reserved.|| # http://www.yifanlu.com|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.|| # http://www.meth0d.org|| # All images, scripts, and layouts|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.|+==================================================================|| # PHPRetro is provided "as is" and comes without|| # warrenty of any kind. PHPRetro is free software!|| # License: GNU Public License 3.0|| # http://opensource.org/licenses/gpl-license.php\+================================================================*/ /*-------------------------------------------------------*\| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |+---------------------------------------------------------+| If you get any errors while attempting to connect to || MySQL, you will need to email your webhost because we || cannot tell you the correct values for the variables || in this file. |\*-------------------------------------------------------*/ // ****** MASTER DATABASE SETTINGS ******// These are the settings required to connect to your Database.$conn['main']['prefix'] = "cms_";$conn['main']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql$conn['main']['host'] = "localhost"; //filename for SQLite$conn['main']['port'] = "3306";$conn['main']['username'] = "root";$conn['main']['password'] = "admin";$conn['main']['database'] = "holodb"; // ****** HOTEL DATABASE SETTINGS ******// EXPERIMENTAL!! Only turn this on if you know what to do. Please submit all// bugs and your fix for them (if possible) to http://code.google.com/p/phpretro// These are the settings required to connect to your hotel database Database.$conn['server']['enabled'] = false;$conn['server']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql$conn['server']['host'] = "localhost"; //filename for SQLite$conn['server']['port'] = "3306";$conn['server']['username'] = "root";$conn['server']['password'] = "admin";$conn['server']['database'] = "holodb";?>[/PHP] Please help! :/[/COLOR] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
No database connection..
Top