It won't let me do something as simple as change the primary key on a table. Open source crud.
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
I blinking hate MySQL
Collapse
X
-
I blinking hate MySQL
Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishing -
I remember JPM credit department worked on spreadsheets. So when they outgrew that they went to mysql. Shame when they reached the 4gb limit and everything collapsed.
Thats what happens when boys design a system and bobs code it. -
I set up a table:
Code:CREATE TABLE `test`.`test_for_d000hg` ( `first` INT NOT NULL AUTO_INCREMENT , `second` INT NOT NULL , PRIMARY KEY (`first`) );
Code:ALTER TABLE `test`.`test_for_d000hg` CHANGE COLUMN `first` `first` INT(11) NOT NULL , CHANGE COLUMN `second` `second` INT(11) NOT NULL AUTO_INCREMENT , DROP PRIMARY KEY , ADD PRIMARY KEY (`second`) ;
(To be precise, I did it in MySQL Workbench, and that's the SQL it generated to do my bidding.)Comment
-
Originally posted by BrilloPad View PostI remember JPM credit department worked on spreadsheets. So when they outgrew that they went to mysql. Shame when they reached the 4gb limit and everything collapsed.
Thats what happens when boys design a system and bobs code it.Comment
-
Nick Fitz on CUK Tech is better than Google!If you think my attitude stinks, you should smell my fingers.Comment
-
Originally posted by NickFitz View PostThat's a limitation of the MyISAM storage engine, not of MySQL per se. Also, it can be resolved: Overcoming MySQL's 4GB Limit (by Jeremy Zawodny)
If it was, and you knew about it, you could have made yourself a pot.Comment
-
Originally posted by BrilloPad View PostWas that available in 2008?
Originally posted by BrilloPad View PostIf it was, and you knew about it, you could have made yourself a pot.Comment
-
Originally posted by NickFitz View Postworked for me
(To be precise, I did it in MySQL Workbench, and that's the SQL it generated to do my bidding.)
TBF other RDBMs might be as bad but I don't recall Oracle being such a pig. I'm deducing that MySQL implements dropping the primary key by dropping and recreating the table based on the problems. Can't be arsed with all this dropping/re-creating FKs... let me write the stored procs and someone else can do the DDL!Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishingComment
-
mySQL is a real world DB and can confirm that it can shift its arse when asked to do stored procs on large batch tasks.
Now, I have theory that Oracle bought SUN to get mySQL to hinder its development, when mySQL went good with stored procs Oracle were not slow in buying the DB up. Don't think Oracle ever wanted Java, they wanted mySQL.
mySQL workbench is a pile of cack if you ask me, query browser and adminstrator are great tools and as good as any DB tools I use on 'serious' databases.Comment
-
Originally posted by minestrone View PostNow, I have theory that Oracle bought SUN to get mySQL to hinder its development, when mySQL went good with stored procs Oracle were not slow in buying the DB up. Don't think Oracle ever wanted Java, they wanted mySQL.Behold the warranty -- the bold print giveth and the fine print taketh away.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- How to answer at interview, ‘What’s your greatest weakness?’ Yesterday 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
- IT contractor demand floundering despite Autumn Budget 2024 Nov 11 09:30
- An IR35 bill of £19m for National Resources Wales may be just the tip of its iceberg Nov 7 09:20
- Micro-entity accounts: Overview, and how to file with HMRC Nov 6 09:27
- Will HMRC’s 9% interest rate bully you into submission? Nov 5 09:10
- Business Account with ANNA Money Nov 1 15:51
- Autumn Budget 2024: Reeves raids contractor take-home pay Oct 31 14:11
- How Autumn Budget 2024 affects homes, property and mortgages Oct 31 09:23
Comment