Most visitors online was 10519 , on 26 Apr 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!This is pretty handy thank you for sharing this for everyone!
Thanks so much for release
But I have a problem I'm trying to load the DB
This is what appears to me:
CREATE TABLE `2014` (
`id` INT (11) NOT NULL AUTO_INCREMENT,
`name` VARCHAR (30) NOT NULL,
`desc` TEXT NOT NULL,
`image` VARCHAR (100) CHARACTER SET latin1 NOT NULL,
`needTwo` INT (11) NOT NULL,
`needZero` INT (11) NOT NULL,
`needOne` INT (11) NOT NULL,
`needFour` INT (11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = INNODB AUTO_INCREMENT = 7 DEFAULT CHARSET = utf8;
Tnx 4The Help
dude, use navicat for execute the sql file and load the db
Forbidden
You don't have permission to access /pokemonskyenglish/index.php on this server.
Apache/2.2.8 (Win32) PHP/5.2.6 Server at localhost Port 80
help me...
still is dont work
i use navicat to execute but i dont know to load the db
and if i try with the wep(127.0.0.1/phpMyAdmin/)
is the same
delete the ".htaccess" file
php_flag display_errors off
php_value error_reporting 0
order deny,allow
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
.htaccess need have this inside
Code:php_flag display_errors off php_value error_reporting 0 order deny,allow php_flag display_startup_errors on php_flag display_errors on php_flag html_errors on
in "include" folder, edit the "config.php" file..
$dbhost = "localhost"; //Host, most likely localhost
$dblogin = "root"; //MySQL account username, default = root
$dbpassword = ""; //Password for MySQL account
$dbdatabase = "pokemon"; //Database
Edit this lines with your credentials
<?php
//error_reporting(E_ALL ^ E_DEPRECATED);
error_reporting(0);
$dbhost = "192.168.1.51"; //Host, most likely localhost
$dblogin = "user"; //MySQL account username, default = root
$dbpassword = "pass"; //Password for MySQL account
$dbdatabase = "pokemon"; //Database
//Creates connection variable & tries to connect
$connection = mysql_connect($dbhost, $dblogin, $dbpassword);
// [USER=1333341228]Mysql[/USER]_select_db($dbdatabase);
if (!$connection) {
die('Not connected : ' . mysql_error());
}
$db_selected = mysql_select_db($dbdatabase, $connection);
if(!$db_selected)
die ("Configure the SQL connection at includes/config.php ".mysql_error());
include('site_names.php');
/* Warning, this code might be vunerable because its using MySQL code which is outdated and the code isn't best either */
?>
work on linux or windows server 2008
linux can install Navicat ?