Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all 5478 articles
Browse latest View live

FeralReason on "Does WP Migrate DB support export from mysql 5.0 to import to 5.5?"

$
0
0

This is apparently an issue of a corrupted export file (and a possible bug), not a 5.5 vs.5.0 issue. (I re-installed / re-exported with a 5.0 DB and got same results.) Details:

1) WP Migrate DB version: Version 0.5; WP version: 3.8.1; Exported with default options.
2) The exported .sql file begins with css code:
<style type="text/css">

ul .remote-events{
list-style-type: none;
}
.remote-events li{
list-style-type: none;
}
...etc ...
</style>
3) The exported file is truncated at the end, in the middle of "wp_users" (user details changed for safety):
"...
INSERT INTO wp_users VALUES (5, 'jdoe', '$P$BUs23VOZuyoxwFGIQmeCFk45E5dh/', 'jdoe', 'jdoe@mysite.com', '', '2013-02-28 20:49:39', '', 0, 'John Doe') ;
INSERT INTO `wp_us"

4) Did a grep for the css and found it (inline) inside of one of my files: "theme-shortcodes.php". Altho I shouldn't have put the code there, I am not sure why WP Migrate DB would read the contents of this file...
Once I removed the css, the output SQL looked okay and imported correctly.

Sounds like this may be a bug ? ...


richpav on "[Plugin: All-in-One WP Migration] Double byte languages (Japanese) in db get mangled on import"

$
0
0

I fix it by copy/pasting this from the beginning of a Sequel Pro dump:

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

https://wordpress.org/plugins/all-in-one-wp-migration/

Yani Iliev on "[Plugin: All-in-One WP Migration] Double byte languages (Japanese) in db get mangled on import"

$
0
0

@richpav
Thanks so much for bringing this issue to our attention.
Putting it on the top of our list and we will fix it asap.
Thanks!

BiggyX on "[Plugin: WassUp Real Time Analytics] Fatal Error with SQlite"

$
0
0

Hey there,

I'm running wordpress on a raspberry pi and made a complete change from mysql to sqlite. The performance is very great now but I get an error for wassup now:
Warning: mysql_get_server_info(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/wp-content/plugins/wassup/lib/upgrade.php on line 100

and

Warning: mysql_get_server_info(): A link to the server could not be established in /var/www/wp-content/plugins/wassup/lib/upgrade.php on line 100
An error occured during WassUp table install.

It seems that wassup needs mysql?! Is it somehow possible to get it run with sqlite? Any database table hacks or so?

Thanks!

https://wordpress.org/plugins/wassup/

gavinwatson on "Problem with Fetured Image and database"

$
0
0

Hi all,

I have an issue with with Wordpress install which I just haven't been able to resolve...

I have tried disabling all plugins and reverting back to default theme, but the problem remains.

The issue is that when I click the featured image, I can select it, and when I click the 'set featured image' button, the image just doesn't save or appear as set. it also doesn't appear in the post.

I have the same issue when trying to 'add media'. I can go through the whole process of adding it, but it doesn;t actually add it to the post.

I have also uploaded known good files (worpdress) which has not corrected the issue.

This leads me to believe that the issue is with the database. Unfortunately I am not great with mysql databases and although I can see references to attachments and the images in via phpmyadmin, I am unable to troubleshoot it any further as I just do not know enough about mysql databases...

Any ideas??

Thanks in advance!

Chris Aprea on "Does WP Migrate DB support export from mysql 5.0 to import to 5.5?"

Casper.s2 on "general help reinstating forum (no database)"

$
0
0

Bump.

I do not have a database but I have all of the SITE folder files>
How can I revive these to a new database?

Also in which file would I find my WP forum -- topic descriptions?

Aka I had two areas of the forum -- each with a description that ​I would like to extract. Thank you

Andrew Nevins on "general help reinstating forum (no database)"

$
0
0

Are you just repeating what you said above?


WPRanger on "general help reinstating forum (no database)"

$
0
0

To restore your forum, simply follow the installation steps from when you first created it. It should create all the required tables etc in your new database. Your forum should then at least look like it was before the database corruption.

As for any content, and this includes titles, descriptions and posts, they're gone. Unless you can recover them from the corrupted database, you won't be able to restore them.

When you get back up and running with your new site, your first job is already waiting for you. Regular, automatic, database backups.

Casper.s2 on "general help reinstating forum (no database)"

$
0
0

you want me to make a new unanswered thread altogether? @Mod

thanks WPRanger; I am not entirely sure how it works. wouldn't content be kept in the site folders? or are they just layout cues and the database holds the custom info?

also... on my hosting cpanel I can only have 1 database. so I had two WP forums and my other apps all in the same database -- does that make things complicated? Is that normal?

Andrew Nevins on "general help reinstating forum (no database)"

$
0
0

you want me to make a new unanswered thread altogether? @Mod

No, but be aware that bumping a thread isn't allowed here.

WPRanger on "general help reinstating forum (no database)"

$
0
0

The content is held in the database. The folders just create the framework to show it.

Using one database for more than one application is common.

Casper.s2 on "general help reinstating forum (no database)"

$
0
0

oh @mod sorry! I didn't know that.
thanks WPRanger *face palm*

note to self... do ... not ... delete... database...

wait a moment... if I did a backup of any of my apps...
if they all share the same database, would it have backed up the whole database or just the section related to that app?

This/backup is with Installatron in CPanel

Casper.s2 on "general help reinstating forum (no database)"

$
0
0

forget that last question -- I just tried to restore the app backup and yeah, fail.

tetontrekker on "Nested MySQL DBs and User Access"


dhshultz on "Cannot Edit Existing Posts"

$
0
0

I followed these instructions:

Download the fresh copy of wordpress and upload "wp-admin" and "wp-includes" folder and also all files except wp-config.php

The problem still is there.

Does this mean there is a problem somewhere in my wp-content folder?

Anshu Verma on "Cannot Edit Existing Posts"

$
0
0

Wow! problem is still there. Interesting.

Please rename wp-content/themes and wp-content/plugins by adding "-old" to the end of the folder name. and upload themes and plugin from the fresh copy wordpress you downloaded.

dhshultz on "Cannot Edit Existing Posts"

$
0
0

Renamed themes-old. Found my original theme is no longer available, so I chose another (more like what I need than twenty fourteen). Problem still there: Edit-post screen lacks post content.

Renamed plugins-old. Had to add Yahoo! Customizable Permalinks plugin to make permalinks work. (Will add some others for better user experience.) Problem still there.

I see (through experience and research) that Yahoo! does not allow .htaccess file (through either their File Manager or FTP). Perhaps this is related to my problem and Google's inability to crawl my blog, though it is not clear why this problem would pop up after four years.

dhshultz on "Cannot Edit Existing Posts"

$
0
0

Two significant developments:

1. I created a new post, and I can edit it even though I can't edit the old ones!

2. Looking at Google crawl errors (for every post and page on my blog), I see that the URLs have only the post-name part of the Permalink, but not the preceding date portion (which always has been part of my blog's Permalink structure).

I am optimistic that if I can figure out why Google is getting bad Permalink URLs, I can fix the post-edit problem, too.

arnoldwender on "[Plugin: Google Calendar Events] Error while loading calenderfeed..."

$
0
0

Hello,

I just updated a site using this plug-in and now I get this error:

Error while loading calenderfeed...

Can somebody point me in the right directiojn in order to fix it?

I´m using XAMPP v1.8.3 (PHP 5.5.9 & MySQL 5.6.16) on Windows 8.1

Thanks

https://wordpress.org/plugins/google-calendar-events/

Viewing all 5478 articles
Browse latest View live




Latest Images