You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I can not create table clients_has_domains & domains_has_keywords in MySQL : 5.0.51a.
But I have solved this problem, the SQL syntax must be separated.
Hello,
I can not create table
clients_has_domains
&domains_has_keywords
in MySQL : 5.0.51a.But I have solved this problem, the SQL syntax must be separated.
CREATE TABLE
domains_has_keywords
(domains_id
int(11) NOT NULL,keywords_id
int(11) NOT NULL,KEY
keywords_id
(keywords_id
),KEY
domains_id
(domains_id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE
domains_has_keywords
ADD CONSTRAINT
domains_has_keywords_ibfk_2
FOREIGN KEY (keywords_id
) REFERENCESkeywords
(keywords_id
) ON DELETE CASCADE ON UPDATE CASCADE,ADD CONSTRAINT
domains_has_keywords_ibfk_1
FOREIGN KEY (domains_id
) REFERENCESdomains
(domains_id
) ON DELETE CASCADE ON UPDATE CASCADE;And I run this script, but the analysis only two overlapping lines.
![ranking analysis tool](https://cloud.githubusercontent.com/assets/1468763/3775264/4b9fda28-1940-11e4-9dc5-5097433c8a57.png)
Does it working?
Thanks for your help!!
The text was updated successfully, but these errors were encountered: