[Dica] BD Jasmine em MySQL mais atuais

Dicas e conf's para servidores Linux
Avatar do usuário
marceloleaes
Administrator
Administrator
Mensagens: 1523
Registrado em: 10 Jun 2013 12:45
Localização: Novo Hamburgo
Idade: 42
Contato:
Status: Offline

[Dica] BD Jasmine em MySQL mais atuais

Mensagem por marceloleaes »

Precisei ajustar o script SQL do Jasmine para rodar no MySQL 5.5 , o script que acompanha o Jasmine apresenta erro de syntax e não importa.

Criei o banco jasmine e após rode a seguinte consulta:

Código: Selecionar todos

CREATE TABLE IF NOT EXISTS `jobs_log` (
  `id` mediumint(9) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `job_id` tinytext NOT NULL,
  `printer` tinytext NOT NULL,
  `user` tinytext NOT NULL,
  `server` tinytext NOT NULL,
  `title` tinytext NOT NULL,
  `copies` smallint(6) NOT NULL DEFAULT '0',
  `pages` smallint(6) NOT NULL DEFAULT '0',
  `options` tinytext NOT NULL,
  `doc` tinytext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;


"Transportai um punhado de terra todos os dias e fareis uma montanha." Confúcio

Voltar para “Servidores”