Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo

Any MySQL expert here?

Status
Not open for further replies.
Dynadot - Expired Domain Auctions

katherine

Country hopper
Legacy Exclusive Member
Joined
Jul 9, 2005
Messages
8,427
Reaction score
1,290
Do you have an error running this code ? Which version of mysql ?
 

katherine

Country hopper
Legacy Exclusive Member
Joined
Jul 9, 2005
Messages
8,427
Reaction score
1,290
It's the first statement that must be producing the error. Best is to execute statements one by one in phpMyAdmin for example in order to trace problems.

Try this:
Code:
CREATE TABLE  `dsp_purchases` (
  `ID` int(11) NOT NULL auto_increment,
  `domain` int(11) default NULL,
  `price` double(11,2) default NULL,
  `user` int(11) default NULL,
  `data` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `status` int(11) NOT NULL default '1',
  PRIMARY KEY  (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;

If it works the remaining create table statements should be adapted too.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom