MySQL
Napsal: 31 říj 2011, 19:29
od Funebrak
Server: 93.91.250.101:27032
Fórum jsem z části prošel, ale žádné takové téma jsem tu nenašel. Vůbec nevím, jak zprovoznit pluginy které potřebují MySQL, je tu někdo ochotný mi vysvětlit, kam umístit všechny soubory a tak dále?
Například HawkEye:
mám klasicky .jar soubor, a mám složku plnou souborů .php, tu mám dát kam?
Re: MySQL
Napsal: 31 říj 2011, 19:38
od Funebrak
pak by mě teda ještě zajímalo (celkově to s tím asi souvisi

), co napsat do config.php, konkrétně teda "dbHost", "dbDbase", "dbUser" "dbPass", "dbTable", "dbPlayerTable", "dbWorldTable"
<?php
$config = array(
//Enter your MySQL database information
//Do not change 'dbTable'
"dbHost" => "localhost",
"dbDbase" => "minecraft",
"dbUser" => "root",
"dbPass" => "",
"dbTable" => "hawkeye",
"dbPlayerTable" => "hawk_players",
"dbWorldTable" => "hawk_worlds",
//Set this to the password you want people to have to use to access the interface
//Leave blank for no password
"password" => "",
//Default radius to search for if user supplies a location
"radius" => 30,
//Limit the maximum number of results that can be returned. Do not use quotes
//Set to 0 for no limit
"maxResults" => 0,
//Language pack - default is english.php
//You can create your own based off the english.php file,
//then change the name below to your language file name
"langFile" => "english.php",
//Log queries to log.txt
//Useful to keep track of who is querying what
"logQueries" => true
);
?>
Re: MySQL
Napsal: 01 lis 2011, 12:36
od MiniMe
Pokud nemáte vytvořenu databázi, zašlete žádost na
sales@fakaheda.eu.
Co se týče souborů s PHP, jde o web management pluginu a nahrává se na webhosting, ne na server (pro funkčnost pluginu to není nutné).
Re: MySQL
Napsal: 02 lis 2011, 08:57
od Funebrak
Dobře, díky moc.