Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login:
- #define HOST "bhs-panel.01.heavyhost.com.br"
- #define USUARIO "heavyhos_NatanM"
- #define SENHA "1n&eKK3(Os~N"
- #define DATABASE "heavyhos_NatanM"
- Erros:
- [10:25:08 05/21/17] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'heavyhos_NatanM'@'ca01.heavyhost.com.br' (using password: YES)
- [10:25:08 05/21/17] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT id,novas_mensagens,email FROM mp_contas WHERE user='Onibus_NPC1' LIMIT 1")
- [10:25:08 05/21/17] [WARNING] cache_get_row_count - no active cache
- [10:25:08 05/21/17] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "INSERT INTO mp_contas (user) VALUES ('Onibus_NPC1')")
- [10:25:08 05/21/17] [WARNING] cache_insert_id - no active cache
- [10:25:08 05/21/17] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
- [10:25:08 05/21/17] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
- [10:25:08 05/21/17] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT id,novas_mensagens,email FROM mp_contas WHERE user='Onibus_NPC2' LIMIT 1")
- [10:25:08 05/21/17] [WARNING] cache_get_row_count - no active cache
- [10:25:08 05/21/17] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "INSERT INTO mp_contas (user) VALUES ('Onibus_NPC2')")
- [10:25:08 05/21/17] [WARNING] cache_insert_id - no active cache
- [10:25:08 05/21/17] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
- [10:25:08 05/21/17] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
- [10:25:08 05/21/17] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'heavyhos_NatanM'@'ca01.heavyhost.com.br' (using password: YES)
- [10:25:08 05/21/17] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'heavyhos_NatanM'@'ca01.heavyhost.com.br' (using password: YES)
- [10:25:08 05/21/17] [ERROR] CMySQLConnection::Connect - (error #1045) Access denied for user 'heavyhos_NatanM'@'ca01.heavyhost.com.br' (using password: YES)
- E Preciso que criem essas tabelas:
- ```
- -- --------------------------------------------------------
- --
- -- Estrutura da tabela `mp_contas`
- --
- CREATE TABLE IF NOT EXISTS `mp_contas` (
- `id` int(11) NOT NULL,
- `user` varchar(24) NOT NULL,
- `novas_mensagens` int(11) NOT NULL,
- `email` varchar(128) NOT NULL
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
- -- --------------------------------------------------------
- --
- -- Estrutura da tabela `mp_msgs`
- --
- CREATE TABLE IF NOT EXISTS `mp_msgs` (
- `id` int(11) NOT NULL,
- `de_contaid` int(11) NOT NULL,
- `para_contaid` int(11) NOT NULL,
- `horario` int(11) NOT NULL,
- `data` varchar(20) NOT NULL,
- `lida` int(11) NOT NULL,
- `Mensagem` varchar(128) NOT NULL
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `mp_contas`
- --
- ALTER TABLE `mp_contas`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexes for table `mp_msgs`
- --
- ALTER TABLE `mp_msgs`
- ADD PRIMARY KEY (`id`);
- --
- -- AUTO_INCREMENT for dumped tables
- --
- --
- -- AUTO_INCREMENT for table `mp_contas`
- --
- ALTER TABLE `mp_contas`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
- --
- -- AUTO_INCREMENT for table `mp_msgs`
- --
- ALTER TABLE `mp_msgs`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
- /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
- /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
- /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
- ```
- E To com esse erros no server_log:
- [10:23:07] [sampgdk:error] Too many callback arguments (at most 32 allowed)
- [10:23:07] [debug] Run time error 19: "File or function is not found"
- [10:23:07] [debug] mysql_connect
- [10:23:07] [debug] mysql_errno
- [10:23:07] [debug] mysql_query
- [10:23:07] [debug] mysql_close
- [10:23:07] [debug] mysql_format
- [10:23:07] [debug] cache_get_row_count
- [10:23:07] [debug] cache_get_field_content_int
- [10:23:07] [debug] cache_get_field_content
- [10:23:07] [debug] cache_insert_id
- [10:23:07] [debug] cache_delete
- Eles ficam repetindo sem parar ja mudei a versão do MYSQL testei o servidor no meu próprio PC modo LAN e não da so o que não conecta na database nem sei qual problema é e o TCAdmin o painel ta meio lento demora pra carregar ja olhei na minha net e nem é nela.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement