• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue ODBC code #42S02 - Error in Wordpress installation

Health

New Pleskian
I am trying to install Wordpress on my domain. I navigate to "Applications" and then select "Wordpress" and click "Install". It gives an error stating:

Error: Installation of WordPress at http://example.com failed. ODBC code #42S02: [MySQL][ODBC 3.51 Driver][mysqld-5.5.45-log]Table 'apsc.aps_resource_adjacency_list' doesn't existODBC code #42S02:


Screenshot is attached.

I tried changing installation parameters but still the same error with any changes I make.

The same issue remains when I try to install WP on a sub-domain. Any help is highly appreciated.
 

Attachments

  • Plesk wordpress error.png
    Plesk wordpress error.png
    35.5 KB · Views: 5
Last edited:
It looks like that aspc database is not correctly updated and table aps_resource_adjacency_list doesn't exist.
Fix it with creation this table according to:

Create Table: CREATE TABLE `aps_resource_adjacency_list` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`base_resource_id` int(10) unsigned NOT NULL,
`dependent_resource_id` int(10) unsigned NOT NULL,
`relation` char(1) NOT NULL DEFAULT 'e',
`uniqueness_scope` varchar(255) DEFAULT NULL,
`branch` varchar(255) DEFAULT NULL,
`requirement_id` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `IX_aps_resource_adjacency_list_unique_link` (`base_resource_id`,`dependent_resource_id`),
KEY `FK_aps_resource_adjacency_list_base` (`base_resource_id`),
KEY `FK_aps_resource_adjacency_list_dependent` (`dependent_resource_id`),
CONSTRAINT `FK_aps_resource_adjacency_list_base` FOREIGN KEY (`base_resource_id`) REFERENCES `aps_resource` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `FK_aps_resource_adjacency_list_dependent` FOREIGN KEY (`dependent_resource_id`) REFERENCES `aps_resource` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8
 
Thanks IgorG for quick response. Since I am new to Plesk, please help me which app/ tool do I use for this query.
 
I got it. :)

I am now getting another error, Can't create table... Screenshot attached.
 

Attachments

  • Plesk create table error.png
    Plesk create table error.png
    113.5 KB · Views: 8
It should be done in SQL command line interface for apsc database. Contact Plesk Support Team if you are not familiar with it or hire experienced Linux administrator.
 
Thanks. Will contact them.

But isn't it a basic necessity that Wordpress should be pre-installed? Or, at least it should get installed hassle-free? Isn't this a common standard practice? Does Plesk doesn't understand even such a smallest hygiene factor? Shameful.
 
Life is not easy, nothing is perfect and problems can always occur at the most inopportune time.
For some reasons apsc database is corrupted or not correctly upgraded. As result - you can't install WP.
 
Plesk support asks too many questions, which I believe are not relevant for asking help. What OS, OS version, Support code/ License key.... I think this is too much to ask!!

Can you help me here? Do you have any generic support code?

I have taken over to develop a website from someone, and the hosting plan is valid till April 2017. I can provide the username and Plesk support should be able to figure out the remaining information!! Please help.
 
Plesk support asks too many questions, which I believe are not relevant for asking help. What OS, OS version, Support code/ License key.... I think this is too much to ask!!

Information that Support team requested is necessary to investigate the issue. Some may happened on exact Plesk version and exact OS. Support code or Plesk license is required for authorization.

If you do not have a support code, please use your Plesk license number to submit the request.

Let us know if you have any questions.
 
I have taken over to develop a website from someone, and the hosting plan is valid till April 2017. I can provide the username and Plesk support should be able to figure out the remaining information!! Please help.
I had mentioned in my earlier comment - I don't know which details to use here. Please help considering me as novice in Plesk.
 
Back
Top