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
- 207 LFX Mentorship
- 207 LFX Mentorship: Linux Kernel
- 734 Linux Foundation IT Professional Programs
- 339 Cloud Engineer IT Professional Program
- 166 Advanced Cloud Engineer IT Professional Program
- 66 DevOps Engineer IT Professional Program
- 132 Cloud Native Developer IT Professional Program
- 120 Express Training Courses
- 120 Express Courses - Discussion Forum
- 5.9K Training Courses
- 40 LFC110 Class Forum - Discontinued
- 66 LFC131 Class Forum
- 39 LFD102 Class Forum
- 220 LFD103 Class Forum
- 17 LFD110 Class Forum
- 32 LFD121 Class Forum
- 17 LFD133 Class Forum
- 6 LFD134 Class Forum
- 17 LFD137 Class Forum
- 70 LFD201 Class Forum
- 3 LFD210 Class Forum
- 2 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 1 LFD233 Class Forum
- 3 LFD237 Class Forum
- 23 LFD254 Class Forum
- 686 LFD259 Class Forum
- 109 LFD272 Class Forum
- 3 LFD272-JP クラス フォーラム
- 10 LFD273 Class Forum
- 99 LFS101 Class Forum
- LFS111 Class Forum
- 2 LFS112 Class Forum
- 1 LFS116 Class Forum
- 3 LFS118 Class Forum
- 2 LFS142 Class Forum
- 3 LFS144 Class Forum
- 3 LFS145 Class Forum
- 1 LFS146 Class Forum
- 2 LFS147 Class Forum
- 8 LFS151 Class Forum
- 1 LFS157 Class Forum
- 10 LFS158 Class Forum
- 4 LFS162 Class Forum
- 1 LFS166 Class Forum
- 3 LFS167 Class Forum
- 1 LFS170 Class Forum
- 1 LFS171 Class Forum
- 2 LFS178 Class Forum
- 2 LFS180 Class Forum
- 1 LFS182 Class Forum
- 4 LFS183 Class Forum
- 30 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム
- 17 LFS203 Class Forum
- 114 LFS207 Class Forum
- 1 LFS207-DE-Klassenforum
- LFS207-JP クラス フォーラム
- 301 LFS211 Class Forum
- 55 LFS216 Class Forum
- 49 LFS241 Class Forum
- 43 LFS242 Class Forum
- 37 LFS243 Class Forum
- 13 LFS244 Class Forum
- 1 LFS245 Class Forum
- 45 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 143 LFS253 Class Forum
- LFS254 Class Forum
- LFS255 Class Forum
- 6 LFS256 Class Forum
- LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 9 LFS258-JP クラス フォーラム
- 114 LFS260 Class Forum
- 152 LFS261 Class Forum
- 41 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 23 LFS267 Class Forum
- 18 LFS268 Class Forum
- 29 LFS269 Class Forum
- 199 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- 3 LFS281 Class Forum
- 2 LFW111 Class Forum
- 257 LFW211 Class Forum
- 176 LFW212 Class Forum
- 12 SKF100 Class Forum
- SKF200 Class Forum
- 791 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 98 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 754 Linux Distributions
- 82 Debian
- 67 Fedora
- 16 Linux Mint
- 13 Mageia
- 23 openSUSE
- 147 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 351 Ubuntu
- 464 Linux System Administration
- 39 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 91 Linux Security
- 78 Network Management
- 101 System Management
- 47 Web Management
- 56 Mobile Computing
- 17 Android
- 28 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 366 Off Topic
- 114 Introductions
- 171 Small Talk
- 20 Study Material
- 528 Programming and Development
- 293 Kernel Development
- 217 Software Development
- 1.1K Software
- 212 Applications
- 181 Command Line
- 3 Compiling/Installing
- 405 Games
- 311 Installation
- 79 All In Program
- 79 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)