Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it working? #1

Open
maxmas opened this issue Aug 1, 2014 · 0 comments
Open

Does it working? #1

maxmas opened this issue Aug 1, 2014 · 0 comments

Comments

@maxmas
Copy link

maxmas commented Aug 1, 2014

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) REFERENCES keywords (keywords_id) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT domains_has_keywords_ibfk_1 FOREIGN KEY (domains_id) REFERENCES domains (domains_id) ON DELETE CASCADE ON UPDATE CASCADE;

And I run this script, but the analysis only two overlapping lines.
Does it working?
ranking analysis tool

Thanks for your help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant