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
Giving selected users permissions [PHX]
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="vRory" data-source="post: 195281" data-attributes="member: 2857"><p>Yes did you index your database, if your using navicat goto chatlogs table and there should be an option in a dropdown box to design table when doing so give id as 'KEY' so click the key on id row[DOUBLEPOST=1365356905,1365355863][/DOUBLEPOST]delete your chatlogs table and try this</p><p> </p><p>[PHP]/*</p><p>Navicat MySQL Data Transfer</p><p> </p><p>Source Server : localhost_3306</p><p>Source Server Version : 50610</p><p>Source Host : localhost:3306</p><p>Source Database : phx</p><p> </p><p>Target Server Type : MYSQL</p><p>Target Server Version : 50610</p><p>File Encoding : 65001</p><p> </p><p>Date: 2013-04-07 18:47:35</p><p>*/</p><p> </p><p>SET FOREIGN_KEY_CHECKS=0;</p><p> </p><p>-- ----------------------------</p><p>-- Table structure for `chatlogs`</p><p>-- ----------------------------</p><p>DROP TABLE IF EXISTS `chatlogs`;</p><p>CREATE TABLE `chatlogs` (</p><p> `id` int(11) NOT NULL AUTO_INCREMENT,</p><p> `user_id` int(10) unsigned NOT NULL,</p><p> `room_id` int(10) unsigned NOT NULL,</p><p> `hour` int(11) NOT NULL,</p><p> `minute` int(11) NOT NULL,</p><p> `full_date` varchar(120) NOT NULL,</p><p> `timestamp` double NOT NULL,</p><p> `message` text NOT NULL,</p><p> `user_name` varchar(100) NOT NULL DEFAULT 'Unknown User',</p><p> PRIMARY KEY (`id`),</p><p> KEY `user_id` (`user_id`) USING BTREE,</p><p> KEY `room_id` (`timestamp`),</p><p> KEY `room_id_2` (`room_id`,`timestamp`)</p><p>) ENGINE=MyISAM AUTO_INCREMENT=84736 DEFAULT CHARSET=latin1;[/PHP]</p></blockquote><p></p>
[QUOTE="vRory, post: 195281, member: 2857"] Yes did you index your database, if your using navicat goto chatlogs table and there should be an option in a dropdown box to design table when doing so give id as 'KEY' so click the key on id row[DOUBLEPOST=1365356905,1365355863][/DOUBLEPOST]delete your chatlogs table and try this [PHP]/* Navicat MySQL Data Transfer Source Server : localhost_3306 Source Server Version : 50610 Source Host : localhost:3306 Source Database : phx Target Server Type : MYSQL Target Server Version : 50610 File Encoding : 65001 Date: 2013-04-07 18:47:35 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `chatlogs` -- ---------------------------- DROP TABLE IF EXISTS `chatlogs`; CREATE TABLE `chatlogs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL, `room_id` int(10) unsigned NOT NULL, `hour` int(11) NOT NULL, `minute` int(11) NOT NULL, `full_date` varchar(120) NOT NULL, `timestamp` double NOT NULL, `message` text NOT NULL, `user_name` varchar(100) NOT NULL DEFAULT 'Unknown User', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) USING BTREE, KEY `room_id` (`timestamp`), KEY `room_id_2` (`room_id`,`timestamp`) ) ENGINE=MyISAM AUTO_INCREMENT=84736 DEFAULT CHARSET=latin1;[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Giving selected users permissions [PHX]
Top