close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Updating mysql 5.5 to 5.7

Thread began 7/15/2019 12:41 pm by john70964 | Last modified 8/02/2019 1:08 pm by Ray Borduin | 4897 views | 22 replies |

john70964

Updating mysql 5.5 to 5.7

I am trying to update a database with multiple table from 5.5 to 5.7.

I create a backup of the Database and save it to my local machine

I create a new 5.7 DB on the ionos server.
When created I upload the backup to the newly created DB but get the following error message.
Any ideas how to overcome this very welcome!

Many thanks
John
==============

Static analysis:

2 errors were found during analysis.

Unexpected beginning of statement. (near "phpMyAdmin" at position 0)Unrecognized statement type. (near "SQL" at position 11)
SQL query:
phpMyAdmin SQL Dump SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'phpMyAdmin SQL Dump
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"' at line 1

Sign in to reply to this post

Ray BorduinWebAssist

delete the text:

phpMyAdmin SQL Dump

from that file. I'm not sure why it is there, but it isn't a valid SQL statement.

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

Thanks Ray
I made the change but kept getting more errors after the changes I made.
Finally I think I managed to get the update done via Navicat Dump SQL File
Seems to have created the new DB correctly.
Fingers crossed.
Regards

John

Sign in to reply to this post

john70964

Seems like there is a bug problem on the remote server.

Sign in to reply to this post

Ray BorduinWebAssist

I'd have to look. It sounds like your export put in comments and the import is trying to run the comments as code. The solution might be a setting to either not include comments in the export or tell the import what the comment syntax is.

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

Please see PM

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you hand coded that connection file and didn't use our webassist extension, so there is an error in it. I'd re-generate it with our extension, but the solution if you want to continue to use yours may be to just change mysql_error to mysqli_error on the line mentioned... but you could run into other issues down the line. The best bet is to use the webassist generated connection file instead of your own hand coded one.

The error you get is because the username and password is incorrect. Anytime you get "Authentication failed." it means that it is connecting to a database but the username and password aren't correct for getting data.

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

This post has been deleted.

john70964

I have created a connection file for the remote server
It displays an error message and I am not sure which field this refers to.
Can you please indicate this. I hope it is not the password.
I am attaching an image.
Thank you
John

Sign in to reply to this post

Ray BorduinWebAssist

The connection name... the first field. It can't have .php in it (the file will be created with this name and .php will be added to the file name automatically)

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...