installation-and-configuration/MySQL and Web Server
MySQL and Web Server
HawkEye requires a MySQL database to store information in and optionally a Web Server if you wish to use the web interface. Most people's servers will have fall under one of these three categories:
- Hosted on your own PC/at home
- Hosted by a Minecraft server company
- Hosted on a VPS/dedi
Hosted on your own PC
If you host your Minecraft server at home, it is very easy to get a MySQL and Web Server installation all in one piece. There are several pieces of software that install MySQL, Apache and PHP all in one go for you, I recommend these:
- Windows: http://www.wampserver.com/en/
- OSX and Linux: http://www.apachefriends.org/en/xampp.html
All the information for installing and using them is available on the websites.
Hosted by a Minecraft server company
Most 'proper' Minecraft server companies understand that some plugins need database access. You should be able to ask them (by email or support ticket) for a database for your server. Very few of them supply Web Servers, however. When you ask them for database access make sure that you can access the database from outside of the server (i.e. not just localhost).
If your host cannot provide you with a database, you can use a remote database on your home pc (see section above) or buy some web hosting with a MySQL database. Most free web hosting companies will not allow external database connecting. f you already have web hosting/your own web server, you are sorted in terms of hosting the interface. However if you havent, you can either buy web hosting, host your own web server at home (see section above) or there are numerous free web hosting companies out there. I recommend http://www.000webhost.com/ - PLEASE NOTE: 000webhost does not allow external MySQL connections!
Hosted on a VPS/dedi
The chances are if you already own a VPS or dedi, you already have or know how to install an Apache, MySQL and PHP setup. If you don't, Googling with your OS name and 'apache mysql php' is your best bet on finding out how to install an AMP setup.
THX YOU a mysql for mac osx :D
I tried for a very long time to get Hawkeye to work with XAMPP for Mac OS X, and it could not connect.
I switched to this MySQL and now it works:
http://dev.mysql.com/downloads/mysql/
Perhaps the version in XAMPP is out of date.
Does this work with Microsoft SQL Server?
This is one of the most complicated things I have ever tried to do with a plugin, and all the instructions are written under the assumption that you have prior Mysql knowledge. Please provide better documentation of how to tackle this under all three sections. Mostly the home one.
I have no idea where I am supposed to upload these files to, where to add passwords, change passwords, access the database via my browser. nothing.
@Valiantiam
Agreed. I even tried asking my hosting cmpany to install the plugin, and all they did was drop in the jar and point me to a guide on how to install MySQL... HawkEye is still not working and I have bugger-all idea what's wrong.
This wouldn;t be so bad if there were up-to-date alternatives...
Is there a way for you to connect to an external MySQL database?
I recommend using the server host "NFOServers" cause it has a Minecraft server, unlimited MySql databases, and webserver/website all in one package... It was a breeze to set up hawkeye on my server
@Valiantiam
I agree. I have never setup an SQL database, but my windows server is apparently running it.
A tutorial on how to install step-by-step would make this plugin far more popular.
Getting this everytime. Help?
2012-03-10 18:29:37 [INFO] [HawkEye] Enabling HawkEye v1.0.6 2012-03-10 18:29:37 [INFO] [HawkEye] Starting HawkEye 1.0.6 initiation process... 2012-03-10 18:29:37 [INFO] [HawkEye] No permission handler detected, only ops can use commands 2012-03-10 18:29:37 [INFO] [HawkEye] Performing update check... 2012-03-10 18:29:38 [INFO] [HawkEye] No updates available for HawkEye 2012-03-10 18:29:40 [SEVERE] [HawkEye] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 2012-03-10 18:29:55 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin 2012-03-10 18:29:55 [INFO] [HawkEye] Disabling HawkEye v1.0.6 2012-03-10 18:29:55 [INFO] [HawkEye] Version 1.0.6 disabled!
latest version 1.0.7 work on CF 1.2.3 r2?
cool features, impossible installation/setup/configuration
This isn't hard to setup.
For a server owner, understanding how to set up essential things like mysql databases should be a breeze - there are tutorials ALL over the web for ALL oses and to make your life easier, things like wamp, lamp, mamp exist.
Read a tutorial or look into it, don't expect someone to guide you through step by step for an installation process every server owner should understand.
Powerful plugins require powerful tools.
Hey, my hosts told me to leave database empty but it just automatically changes to minecraft on startup. how can I stop this from happening?
I have worked with MySql many times before, so I know that I have everything set up right, but with the latest version of the interface, No results ever appear. The loading bar just keeps loading and never stops. I know that it is accessing the correct tables because if I type in a username that is not in the hawk_players list, then the search fails. But, otherwise it just keeps loading loading loading and nothing ever appears. Am i doing something wrong?
Very very nice.
I really wish hawkeye would update, logblock sucks...
Guys when I run my hawkeye i get an error saying Hawkeye cannot connect to Msql using password YES. And i can log into phpmyadmin with no problems. Anyone have an idea how to fix this and plz me very detailed im not so good with this stuff. Thx