Welcome to the Linux Foundation Forum!
upgrade my website without disturbing current load
kushallinux
Posts: 30
Hi All,
I am working as Linux administrator.
I want to upgrade my website .
My web site is imade in eZ publish.
my database is in phpmyadmin
I want to modify my database.
what should i do for modifying my database?
Thanks
Kushal
0
Comments
-
phpmyadmin is just an administrative console. Most likely your database is under mysql, you should be able to read to mysql manual to learn the correct syntax to modify your records and tables.0
-
but i dont know mysql .
0 -
w3schools is very useful for anything related to web design. They show how to use most of the basic functions you would need for any SQL database server. I also use phpmyadmin and its very good. it depends on what you want to change but it shouldn't effect your website to much for must things you would want to do. Unless you drop a table .0
-
how can i modify database on phpmyadmin ?0
-
Hi Kushai,
How do you want to modify your database?. Do you mean upgrade or change the schema, or do you mean change the database type??
Most RPM based upgrades are pretty quick. what is the traffic like to your site. could it suffer a 'blip'?
If you mean upgrade whilst running your mileage may vary using several different approaches, what is the main balance of traffic to your site, is it more reads or writes? Can your site function in a read only manner for a small period of time?:
you could create a readonly MySQL replica (slave) on the same server using mysqld_multi(or do a dual install of MySQL). present the slave port to your web frontend.
Do the upgrade on your original MySQL server in the meantime. Drop the replica and repoint your webserver at the original MySQL port.
I've done this in several installations where appropriate and its worked great!
Another thing you could look into is caching the main pages to your site.0 -
@mpalmeruk
thnkx
i want to upgrade database , i dont want to change its type .
we have heavy traffic on site
yes but how to do all this task ?
i mean how to create replica & all
how to create "readonly MySQL replica (slave) on the same server using mysqld_mult" ?
can u tell in detail?
how to do a dual install of MySQL?0 -
0
-
Hi,
can you let me know your distro, whether u installed MySQL from source or RPM/apt-get. Which version of MySQL you are on currently and which version you are attempting to jump to.
thanks
Matt0 -
Hi
my mysql version is MySQL 5.1.10
see we are using eZpublish version 4.3
Now i want to upgrade eZpublish version 4.5 without disturbing code & database .0 -
You can setup a new schema with read-only rights for all but the admin, then you can dump the contents of the existing schema into the new schema with "mysqldump originalschema>mysql newschema". You may need to change the command slightly for your needs, so may sure to read the manual for mysqldump to find the applicable criteria.0
-
Hi
my current site is using eZpublish 4.3 version
I upgraded its version to 4.5
but problem is that it is generating new database .
i want to work on my old database with new version 4.5
if i upload old database to new then my site is not working0 -
I am getting this error after upgrading eZpublish version from 4.3 to 4.5
EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists0 -
That is a very literal error message, the upgrade is attempting to build a new table under the same name as an existing table. There are numerous ways to work around this depending on the potential for table structure changes. I recommend replicating the table to a new name, deleting the existing table, allowing the script to create the new table then appending the data from the old table to the new one.0
-
i did this thing ...after that i am facing same problem for 3 more table .......then again same table error come0
-
At this point it sounds like you are using an installation script rather than an upgrade script. The difference is that an installer will attempt to build a new structure which yours is doing and an upgrade script will only modify the tables to the new format.
If what you are attempting to do is following the upgrade script from the project then I recommend contacting the project developers to alert them of the issue so they can work with you to find a stable solution.0 -
I had downloaded eZpublish 4.5 version from internet
then i had overwrite it in my folder "/var/www/testeZ/"
then when i access my site
"http://192.168.1.206/testeZ/index.php"
it is showing setup wizard .............at the end i got this error
EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists
I am not understanding difference between installation script and upgrade script.0 -
Site info:
Site package - plain_site
Title - Plain site
URL - http://192.168.1.206/testeZ/index.php/plain_site
Admin URL - http://192.168.1.206/testeZ/index.php/plain_site_admin
Access type - url
Access value - plain_site
Web server info:
Version - Apache/2.2.3 (Red Hat)
PHP info:
Version - 5.3.4
OS info
Name - Linux linserver2.jzero.com 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686
CPU Type - Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
CPU Speed - 1600.000 MHz
Memory Size - 4212879360 (3.92 GB)
Database info:
Type - MySQL Improved
Driver - ezmysqli
Email info:
Transport - sendmail
Image conversion:
ImageMagick was found and used.
Path - /usr/bin
Executable - convert
ImageGD extension was found and used.
Regional info:
Primary - eng-US
Additional - eng-US
Critical tests
directory_permissions - Success
phpversion - Success
database_extensions - Success
image_conversion - Success
safe_mode - Success
memory_limit - Success
execution_time - Success
magic_quotes_runtime - Success
allow_url_fopen - Success
accept_path_info - Success
php_session - Success
file_upload - Success
zlib_extension - Success
dom_extension - Success
iconv_extension - Success
mbstring_extension - Success
timezone - Success
ezcversion - Success
Other tests:
variables_order - Failure
php_magicquotes - Success
curl_extension - Success
imagegd_extension - Success
imagemagick_program - Success
database_all_extensions - Success
php_register_globals - Success
texttoimage_functions - Success
open_basedir - Success0 -
plz tell me how can i solve this problem >?0
-
i got this error during eZpublish upgradation from 4.3 to 4.5
EZSW-004
Failed inserting data to mysql
Table 'ezapprove_items' already exists0 -
You can start by reading the official upgrade documentation at Ezpublish's website at http://doc.ez.no/eZ-Publish/Upgrading , most likely you will need to perform two upgrades, 4.3 -> 4.4 and 4.4 -> 4.50
-
I have already gone though this link
i am not getting ezpublish 4.4 version0 -
please reply me soon ........its urgent0
-
kushallinux wrote:I have already gone though this link
i am not getting ezpublish 4.4 version
If you had run the scripts in the upgrade documentation, then you would not have gotten error referring to created pre-existing tables. Due to the unknown differences between the 4.3, 4.4 and 4.5, it is recommended to do incremental upgrades from 4.3 to 4.5 to guarantee that all necessary changes have been made.
Since I am not a paying customer for this software like yourself, I can only recommend actions based upon the information given. Your current list of changes appears to have differed from their recommend actions. Hopefully with the purchase of the software license you have included support, I recommend contacting the company through their inquiry submission form at http://ez.no/Requests/Contact-Us to request their assistance with your problem, they should be able to patiently walk you through the necessary modifications.0 -
i hv already sent them my qurey ...but no reply0
-
kushallinux wrote:i hv already sent them my qurey ...but no reply
Have you attempted to call their contact phone numbers from the bottom of their website?0 -
No , its international call0
-
With paid software it is much harder to find assistance because only paid customers have access to the complete code, database structure and required libraries to properly analyze the issues and potential resolutions. Unfortunately I am unwilling to pay for software to assist a company's customer when their support has failed.
At this point because you have already shown us the error message stating that the configuration is damaged, I would recommend copying the past schema tables into a new schema, removing the old schema and all code from Ezpublish, reinstalling everything then attempting to populate the new schema tables with the old data. This is not the easiest or cleanest method and it is possible that the old data will not work in the new format, but without official support you are left with very few alternatives.0 -
Or you can pay a local IT professional as a consultant to work on resolving the issues for you.0
-
actually my company is taken me to solve linux related problems
so i cant heir any consultant0 -
kushallinux wrote:actually my company is taken me to solve linux related problems
so i cant heir any consultant
No ofense man but... they might need to to hire someone else. I don't mean to be rude, just pointing the obvious.
That or... work, work,work, work, work. And when you think you've got it all managed: work harder!!!
Regards0
Categories
- All Categories
- 226 LFX Mentorship
- 226 LFX Mentorship: Linux Kernel
- 806 Linux Foundation IT Professional Programs
- 361 Cloud Engineer IT Professional Program
- 182 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 150 Cloud Native Developer IT Professional Program
- 138 Express Training Courses
- 138 Express Courses - Discussion Forum
- 6.3K Training Courses
- 48 LFC110 Class Forum - Discontinued
- 71 LFC131 Class Forum
- 44 LFD102 Class Forum
- 228 LFD103 Class Forum
- 19 LFD110 Class Forum
- 41 LFD121 Class Forum
- 18 LFD133 Class Forum
- 8 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 5 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 700 LFD259 Class Forum
- 111 LFD272 Class Forum - Discontinued
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 172 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 3 LFS116 Class Forum
- 7 LFS118 Class Forum
- LFS120 Class Forum
- 9 LFS142 Class Forum
- 8 LFS144 Class Forum
- 4 LFS145 Class Forum
- 3 LFS146 Class Forum
- 2 LFS148 Class Forum
- 14 LFS151 Class Forum
- 4 LFS157 Class Forum
- 42 LFS158 Class Forum
- 10 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 32 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム - Discontinued
- 19 LFS203 Class Forum
- 135 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 4 LFS245 Class Forum
- LFS246 Class Forum
- LFS248 Class Forum
- 52 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 156 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 9 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.3K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 128 LFS260 Class Forum
- 160 LFS261 Class Forum
- 43 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 25 LFS268 Class Forum
- 31 LFS269 Class Forum
- 5 LFS270 Class Forum
- 202 LFS272 Class Forum - Discontinued
- 2 LFS272-JP クラス フォーラム
- 3 LFS147 Class Forum
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 10 LFW111 Class Forum
- 262 LFW211 Class Forum
- 183 LFW212 Class Forum
- 15 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 797 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 104 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 469 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 94 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 64 Mobile Computing
- 18 Android
- 34 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 373 Off Topic
- 115 Introductions
- 174 Small Talk
- 23 Study Material
- 806 Programming and Development
- 304 Kernel Development
- 484 Software Development
- 1.8K Software
- 263 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 98 All In Program
- 98 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)