mySQL Help
|
Posted
#26956
(In Topic #6220)
|
|
|---|---|
|
Honoured member |
Code
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
I'm not very experienced with mySQL, so any suggestions to help eliminate the error would be very appreciated. Thank you. -Joe |
|
Posted
|
|
|
ocStaff (admin) |
Code
INSERT INTO `ocportal2_adminlogs` VALUES (1, 'ADD_THEME', 'TS2S_Designs', NULL, 2, 72.230.46.122, 1160201382);
Code
INSERT INTO `ocportal2_adminlogs` VALUES (1, 'ADD_THEME', 'TS2S_Designs', NULL, 2, '72.230.46.122', 1160201382);
(Note the single quotes around the IP address.) If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Hallowed customer |
Most hosts only let you add so much at a time with PHPmyadmin. This tool worked for me if you want to read about it. (disclaimer) I did not make this tool, nor do I know who made it. I did use it to upload my database so that I did not have to cut it up. Here is the information… // BigDump ver. 0.24b from 2006-06-25 // Staggered import of an large MySQL Dump (like phpMyAdmin 2.x Dump) // Even through the webservers with hard runtime limit and those in safe mode // Works fine with Internet Explorer 6.0, Firefox 1.x and even Netscape 4.8 // Author: Alexey Ozerov (alexey at ozerov dot de) // Copyright: GPL (C) 2003-2006 // More Infos: http://www.ozerov.de/bigdump // This program is free software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the Free Software Foundation; // either version 2 of the License, or (at your option) any later version. |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
Honoured member |
The ocp2_cache table has quite a few insert statements that are very long. That being said, everytime I try to scroll to the end of a statement, my source code editor keeps freezing up. I must ask; what code editor was used to write these statements, Chris? Maybe the code editor you've used could help me edit the coding without freezing. |
|
Posted
|
|
|
ocStaff (admin) |
You may safely remove all the cache rows from your SQL dump as seeing as it's only cacheing data, it'll get regenerated. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Honoured member |
|
|
Posted
|
|
|
ocStaff (admin) |
|
|
Posted
|
|
|
Honoured member |
|
1 guests and 0 members have just viewed this: None
Control functions:








