close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

1 and 1 phpmyadmin

Thread began 1/25/2011 4:05 am by i.edwards384429 | Last modified 2/13/2011 4:27 pm by info22862 | 1580 views | 5 replies |

i.edwards384429

1 and 1 phpmyadmin

Hi

on 1and1 isp server if I open the users.sql in notepad then copy the contents into the clipboard.

I then go online to the 1 and i control panel select the sql tab and paste the sql file.

Lastly I select go.

I get the following errors.

Any idea as to a solution?

thanks

Ian

#1074 - Too big column length for column 'UserPassword' (max = 255). Use BLOB instead

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 'CURRENT_TIMESTAMP,
`UserVerificationCode` varchar(20) DEFAUL

Sign in to reply to this post

Jason ByrnesWebAssist

what version of MySQL is this on? It should be using MySQL Version 5.03 or newer.

Sign in to reply to this post

i.edwards384429

update

Hi Jason

1and1 here in the uk are on

mysql v 5.0.91

php v 5.2.17

Is this my problem?

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

I just tried using the users.sql script on my site running on 1 and 1 with out any issue using the same version 5.0.91. I cannot reproduce the problem.

Sign in to reply to this post

info22862

Same issue on RackSpace cloudsites

We attempted to create the table on Rackspace.
The MySql server is 5.0.41 one of the latest supported community server versions.

The two fields in question are:
`UserEmail` varchar(500) default NULL,
`UserPassword` varchar(500) default NULL,

This is not acceptable in MySQL and produces an error which asks us to reduce the Character limit to 255, or change the field data type to BLOB.

Sign in to reply to this post

info22862

Resolved - but not sure if I have the reason why

The database I had set up on RackSpace was fairly new.... within a couple hours.
I was able to connect to it successfully using my DB manager on my PC - Not the host
s web based admin tool, but a separate 3rd party app.

So I assumed the DB is and was set up when I initially ran the script and encountered the error.

However, I changed NOTHING, but wanted to see the error it produced.
I simply ran the same script again and well, it worked. Table was created with the 500 Character Varchar fields.

Perhaps if my PC was attempting to use a 3.51 Driver instead of the 5.1 would that have produced the error we both experienced? Although I had configured with the 5.1 driver its the only anomaly I can think of.

Just trying to bring out a useful conclusion for future readers of the thread.

Sign in to reply to this post

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...