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
Hosting Mysql Data
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="Heaplink" data-source="post: 102718" data-attributes="member: 8966"><p>First of all, that is the the stupidest idea I have ever heard — but it is not impossible.</p><p></p><p>First you need to install MySQL on the server you wan't to keep the database on (if you wan't phpmyadmin, you have to install PHP too - apache is really too heavy, so install them separately)</p><p> </p><p>Now install either Apache (windows, unix) or nginx (unix) with mysql and php on your other server. You'll have to portforward the MySQL database server on a desired port (I recommend NOT to use the default port (3306) but another port and portforward that and let mysql listen on that port)</p><p> </p><p>Then you make a secure user with a hard password so you are sure no noobs guess it. Now try to connect with a simple mysql_connect() function on your web server to the mysql server.</p><p> </p><p>Again, you'll have to choose your chosen port, since the default setting for the mysql port is 3306. So when you write the mysql_connect() connect like this:</p><p>[PHP]mysql_connect('<MySQL server IP>:<Chosen Port>', '<MySQL Username>', '<MySQL Password>');[/PHP]</p><p>of course without the < and > and such.</p></blockquote><p></p>
[QUOTE="Heaplink, post: 102718, member: 8966"] First of all, that is the the stupidest idea I have ever heard — but it is not impossible. First you need to install MySQL on the server you wan't to keep the database on (if you wan't phpmyadmin, you have to install PHP too - apache is really too heavy, so install them separately) Now install either Apache (windows, unix) or nginx (unix) with mysql and php on your other server. You'll have to portforward the MySQL database server on a desired port (I recommend NOT to use the default port (3306) but another port and portforward that and let mysql listen on that port) Then you make a secure user with a hard password so you are sure no noobs guess it. Now try to connect with a simple mysql_connect() function on your web server to the mysql server. Again, you'll have to choose your chosen port, since the default setting for the mysql port is 3306. So when you write the mysql_connect() connect like this: [PHP]mysql_connect('<MySQL server IP>:<Chosen Port>', '<MySQL Username>', '<MySQL Password>');[/PHP] of course without the < and > and such. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Hosting Mysql Data
Top