Yes, I use Linux - on that particular box it is Red Hat Enterprise AS 3.0, and yes the version of s9y we are using is 0.7.1. But, our PHP is 4.3.4 and mySQL is 4.0.16.
Code: Select all
Attemping to setup database...
Checking to see if the database is already in place. If you see a database query error here, ignore it... Done
Creating default database setup...Input query:
create table s9ynew_authors (username varchar(20) default null,password varchar(32) default null,authorid {AUTOINCREMENT} {PRIMARY},mail_comments int(1) default '1',mail_trackbacks int(1) default '1',email varchar(128) not null default '',userlevel int(4) {UNSIGNED} not null default '0',right_publish int(1) default '1');
Transformed query:
create table s9ynew_authors (username varchar(20) default null,password varchar(32) default null,authorid int(11) not null auto_increment primary key,mail_comments int(1) default '1',mail_trackbacks int(1) default '1',email varchar(128) not null default '',userlevel int(4) unsigned not null default '0',right_publish int(1) default '1');
Result of query:
1
Possible errors:
Input query:
create table s9ynew_comments (id {AUTOINCREMENT} {PRIMARY},entry_id int(10) {UNSIGNED} not null default '0',parent_id int(10) {UNSIGNED} not null default '0',timestamp int(10) {UNSIGNED} default null,title varchar(150) default null,author varchar(80) default null,email varchar(200) default null,url varchar(200) default null,ip varchar(15) default null,body text,type varchar(100) default 'regular',subscribed {BOOLEAN},status varchar(50) not null);
Transformed query:
create table s9ynew_comments (id int(11) not null auto_increment primary key,entry_id int(10) unsigned not null default '0',parent_id int(10) unsigned not null default '0',timestamp int(10) unsigned default null,title varchar(150) default null,author varchar(80) default null,email varchar(200) default null,url varchar(200) default null,ip varchar(15) default null,body text,type varchar(100) default 'regular',subscribed enum ('true', 'false') NOT NULL default 'true',status varchar(50) not null);
Result of query:
1
Possible errors:
Input query:
CREATE {FULLTEXT} INDEX body_idx on s9ynew_comments (body);
Transformed query:
CREATE FULLTEXT INDEX body_idx on s9ynew_comments (body);
Result of query:
1
Possible errors:
Input query:
create table s9ynew_entries (id {AUTOINCREMENT} {PRIMARY},title varchar(200) default null,timestamp int(10) {UNSIGNED} default null,body text,comments int(4) {UNSIGNED} default '0',trackbacks int(4) {UNSIGNED} default '0',extended text,exflag int(1) default null,author varchar(20) default null,authorid int(11) default null,isdraft {BOOLEAN},allow_comments {BOOLEAN},last_modified int(10) {UNSIGNED} default null,moderate_comments {BOOLEAN});
Transformed query:
create table s9ynew_entries (id int(11) not null auto_increment primary key,title varchar(200) default null,timestamp int(10) unsigned default null,body text,comments int(4) unsigned default '0',trackbacks int(4) unsigned default '0',extended text,exflag int(1) default null,author varchar(20) default null,authorid int(11) default null,isdraft enum ('true', 'false') NOT NULL default 'true',allow_comments enum ('true', 'false') NOT NULL default 'true',last_modified int(10) unsigned default null,moderate_comments enum ('true', 'false') NOT NULL default 'true');
Result of query:
1
Possible errors:
Input query:
create table s9ynew_references (id {AUTOINCREMENT} {PRIMARY},entry_id int(10) {UNSIGNED} not null default '0',link text,name text);
Transformed query:
create table s9ynew_references (id int(11) not null auto_increment primary key,entry_id int(10) unsigned not null default '0',link text,name text);
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_exits (entry_id int(11) NOT NULL default '0',day date NOT NULL,count int(11) NOT NULL default '0',scheme varchar(5),host varchar(128) NOT NULL,port varchar(5),path varchar(255),query varchar(255),PRIMARY KEY (host,day,entry_id));
Transformed query:
CREATE TABLE s9ynew_exits (entry_id int(11) NOT NULL default '0',day date NOT NULL,count int(11) NOT NULL default '0',scheme varchar(5),host varchar(128) NOT NULL,port varchar(5),path varchar(255),query varchar(255),PRIMARY KEY (host,day,entry_id));
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_referrers (entry_id int(11) NOT NULL default '0',day date NOT NULL,count int(11) NOT NULL default '0',scheme varchar(5),host varchar(128) NOT NULL,port varchar(5),path varchar(255),query varchar(255),PRIMARY KEY (host,day,entry_id));
Transformed query:
CREATE TABLE s9ynew_referrers (entry_id int(11) NOT NULL default '0',day date NOT NULL,count int(11) NOT NULL default '0',scheme varchar(5),host varchar(128) NOT NULL,port varchar(5),path varchar(255),query varchar(255),PRIMARY KEY (host,day,entry_id));
Result of query:
1
Possible errors:
Input query:
create table s9ynew_config (name varchar(255) not null,value text not null,authorid int(11) default '0');
Transformed query:
create table s9ynew_config (name varchar(255) not null,value text not null,authorid int(11) default '0');
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_suppress (ip varchar(15) default NULL,scheme varchar(5),host varchar(128),port varchar(5),path varchar(255),query varchar(255),last timestamp NOT NULL);
Transformed query:
CREATE TABLE s9ynew_suppress (ip varchar(15) default NULL,scheme varchar(5),host varchar(128),port varchar(5),path varchar(255),query varchar(255),last timestamp NOT NULL);
Result of query:
1
Possible errors:
Input query:
CREATE unique INDEX url_idx on s9ynew_suppress (host, ip);
Transformed query:
CREATE unique INDEX url_idx on s9ynew_suppress (host, ip);
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_plugins (name varchar(128) not null,placement varchar(6) not null default 'right',sort_order int(4) not null default '0',authorid int(11) default '0',PRIMARY KEY(name));
Transformed query:
CREATE TABLE s9ynew_plugins (name varchar(128) not null,placement varchar(6) not null default 'right',sort_order int(4) not null default '0',authorid int(11) default '0',PRIMARY KEY(name));
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_category (categoryid {AUTOINCREMENT} {PRIMARY},category_name varchar(255) default NULL,category_icon varchar(255) default NULL,category_description text,authorid int(11) default NULL,category_left int(11) default '0',category_right int(11) default '0',parentid int(11) DEFAULT '0' NOT NULL);
Transformed query:
CREATE TABLE s9ynew_category (categoryid int(11) not null auto_increment primary key,category_name varchar(255) default NULL,category_icon varchar(255) default NULL,category_description text,authorid int(11) default NULL,category_left int(11) default '0',category_right int(11) default '0',parentid int(11) DEFAULT '0' NOT NULL);
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_images (id {AUTOINCREMENT} {PRIMARY},name varchar(255) not null default '',extension varchar(5) not null default '',mime varchar(255) not null default '',size int(11) not null default '0',dimensions_width int(11) not null default '0',dimensions_height int(11) not null default '0',date int(11) not null default '0',thumbnail_name varchar(255) not null default '',authorid int(11) default '0',path text);
Transformed query:
CREATE TABLE s9ynew_images (id int(11) not null auto_increment primary key,name varchar(255) not null default '',extension varchar(5) not null default '',mime varchar(255) not null default '',size int(11) not null default '0',dimensions_width int(11) not null default '0',dimensions_height int(11) not null default '0',date int(11) not null default '0',thumbnail_name varchar(255) not null default '',authorid int(11) default '0',path text);
Result of query:
1
Possible errors:
Input query:
CREATE {FULLTEXT} INDEX pathkey_idx on s9ynew_images (path);
Transformed query:
CREATE FULLTEXT INDEX pathkey_idx on s9ynew_images (path);
Result of query:
1
Possible errors:
Input query:
CREATE TABLE s9ynew_entrycat (entryid int(11) not null,categoryid int(11) not null);
Transformed query:
CREATE TABLE s9ynew_entrycat (entryid int(11) not null,categoryid int(11) not null);
Result of query:
1
Possible errors:
Input query:
CREATE UNIQUE INDEX entryid_idx ON s9ynew_entrycat (entryid, categoryid);
Transformed query:
CREATE UNIQUE INDEX entryid_idx ON s9ynew_entrycat (entryid, categoryid);
Result of query:
1
Possible errors:
Done
Done creating database
Serendipity was successfully installed on your system.
It did create the indices noted in the output, but notice how it didn't transform the following lines:
So, I had to manually create them. But, those are the only 3 that were skipped...which is much better than it was.