hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : MySQL Problems with CPANEL after update
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

MySQL Problems with CPANEL after update

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2001, 06:12 AM
Nicholas Brown Nicholas Brown is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Posts: 454
*

MySQL Problems with CPANEL after update




After getting online this morning, I get an ICQ Message from one of my customers saying

Quote:
Hey Nick,

The new phpmysql version is messed up..... and I think mysql is messed up in general...

I'm trying to run a SQL query in telnet - as well as phpmysql and I'm getting errors...

The db/user are correct and the user is added to the db... and I'm still getting denies...
So I log into the customers phpMyAdmin and I can see all the databases.

I then go to create a table in one of the customers databases which has had a username and password created for it and get the message:

Quote:
SQL-query:

CREATE TABLE nick (id TINYINT (3) not null , text1 MEDIUMTEXT not null , text2 MEDIUMTEXT not null , PRIMARY KEY (id), UNIQUE (id))
MySQL said: Access denied for user: 'CUSTOMER@localhost' to database 'CUSTOMER_db'
So it now seems that since the cpanel updates, if you create a user and password for a certain database, you cant access that database by going to

CPanel >> SQL >> phpMyAdmin

Anyone else noticed this?


__________________
back from the dead

Reply With Quote


Sponsored Links
  #2  
Old 08-04-2001, 06:27 AM
Nicholas Brown Nicholas Brown is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Posts: 454
Red face

Correction...

It now seems to be working in phpMyAdmin but not in the mysql comand prompt via ssh

__________________
back from the dead

Reply With Quote
  #3  
Old 08-04-2001, 10:20 AM
badhat badhat is offline
Web Hosting Guru
 
Join Date: Jun 2001
Posts: 318
I can't install vbulletin, getting 1044 access denied errors after completion of about 2/3 of the third part of the script (inserting and manipulating vbulletin tables). See below, caps substituted for actual values:

............

Altering word table

The script reported errors in the installation of the tables. Only continue if you are sure that they are not serious.

The errors were:

Error number: 1044

Error description: Access denied for user: 'USERNAME@localhost' to database 'DATABASENAME'

Reply With Quote
Sponsored Links
  #4  
Old 08-04-2001, 10:26 AM
Nicholas Brown Nicholas Brown is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Posts: 454
Quote:
Originally posted by slinky
I can't install vbulletin, getting 1044 access denied errors after completion of about 2/3 of the third part of the script (inserting and manipulating vbulletin tables). See below, caps substituted for actual values:
Yeah - what cpanel are you running? Dark orb or VDI?

Im running dark orb - everything was fine until the new phpMyAdmin was introduced into cpanel

__________________
back from the dead

Reply With Quote
  #5  
Old 08-04-2001, 10:36 AM
badhat badhat is offline
Web Hosting Guru
 
Join Date: Jun 2001
Posts: 318
Quote:
Originally posted by Nicholas Brown


Yeah - what cpanel are you running? Dark orb or VDI?
I have no idea -- I'm on a virtual host and don't know how to tell the difference. Just says CPanel 3 on the top right, logo on top left, dark blue outside, medium blue main page with white text. Either way... I'm stuck!!!

Reply With Quote
  #6  
Old 08-04-2001, 11:29 AM
bert bert is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Orlando, Florida
Posts: 671
Yeah, I have the Darkorb version and have the same problems

__________________
Bert Kammerer
ProNIC Solutions - pronicsolutions.com
The Smart Internet of the Future (SM)
Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

Reply With Quote
  #7  
Old 08-04-2001, 11:43 AM
Craig Craig is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Location: Hemel Hempstead
Posts: 527
I had this problem yesterday then Nick tracked down this bug yesterday afternoon and built a release with the fix. Just run /scripts/upcp to update your Cpanel to the latest version. Also - if you still experience this issue after
updating, try adding/deleting a mysql username - this will reset the mysql perms for that user.

Regards

Craig

__________________
Craig Robinson - UKDedicated LTD
Managed Dedicated Servers and Colocation at Centro, Hemel Hempstead.
All supported by our own onsite team. Ask me for forum specials!

Reply With Quote
  #8  
Old 08-04-2001, 11:51 AM
bert bert is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Orlando, Florida
Posts: 671
Thanks Craig. That did the trick

__________________
Bert Kammerer
ProNIC Solutions - pronicsolutions.com
The Smart Internet of the Future (SM)
Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

Reply With Quote
  #9  
Old 08-04-2001, 11:51 AM
badhat badhat is offline
Web Hosting Guru
 
Join Date: Jun 2001
Posts: 318
Quote:
Originally posted by Craig
I had this problem yesterday then Nick tracked down this bug yesterday afternoon and built a release with the fix. Just run /scripts/upcp to update your Cpanel to the latest version. Also - if you still experience this issue after
updating, try adding/deleting a mysql username - this will reset the mysql perms for that user.Craig
THanks but I tried all that. My provider updated cpanel to the latest version, reset it, I deleted the database, creating a new one, created a new user, tried it all, same problem. Very odd...

Reply With Quote
  #10  
Old 08-04-2001, 11:57 AM
bert bert is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Orlando, Florida
Posts: 671
slinky,

This might sound stupid, but are you entering the correct database user on the config.php file for vbulletin?

I mean, remember that with cpanel, your database user is a combination of your account user and the database user like this:
accoutusername_databaseusername

You might off course know this, but I just thought it was worth mentioning.

__________________
Bert Kammerer
ProNIC Solutions - pronicsolutions.com
The Smart Internet of the Future (SM)
Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

Reply With Quote
  #11  
Old 08-04-2001, 12:11 PM
badhat badhat is offline
Web Hosting Guru
 
Join Date: Jun 2001
Posts: 318
*

Quote:
Originally posted by bert
slinky,

This might sound stupid, but are you entering the correct database user on the config.php file for vbulletin?

I mean, remember that with cpanel, your database user is a combination of your account user and the database user like this:
accoutusername_databaseusername

You might off course know this, but I just thought it was worth mentioning.
Definitely worth mentioning and it solved problems for other people. Unfortunately, the answer is absolutely. I also edited the same config file settings that works for vb that I'm currently using at the same domain!!! (Yes, I also used a fresh copy of vbulletin 2.0.3 and edited that config too!) I'm trying a fresh install into a different directory, new database, different user. You name the combination and it just doesn't work. The fact that I'm on the same domain shouldn't matter and I've done this before. I'm entering the following:

database: accountusername_database2name
user: accountusername_newdbaseusername
password: newdbaseusernamepassword

Thanks so much for this. Nobody can figure this strange one out.

Reply With Quote
  #12  
Old 08-04-2001, 12:16 PM
bert bert is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Orlando, Florida
Posts: 671
This is very strange.

Have you asked your host if anyone else is having these problems on their server(s) ?

__________________
Bert Kammerer
ProNIC Solutions - pronicsolutions.com
The Smart Internet of the Future (SM)
Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

Reply With Quote
  #13  
Old 08-04-2001, 12:26 PM
badhat badhat is offline
Web Hosting Guru
 
Join Date: Jun 2001
Posts: 318
Quote:
Originally posted by bert
This is very strange.

Have you asked your host if anyone else is having these problems on their server(s) ?
Yeah. They said they received a lot of calls after they updated the new cpanel. However, I'm not sure if I'm the only one with this particular problem.

Reply With Quote
  #14  
Old 08-04-2001, 12:29 PM
bert bert is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Orlando, Florida
Posts: 671
You need to let them know again. By the looks of it, it has to do with the server and its configuration and not with you. They need to look into this for you.

Good luck

__________________
Bert Kammerer
ProNIC Solutions - pronicsolutions.com
The Smart Internet of the Future (SM)
Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

Reply With Quote
  #15  
Old 08-04-2001, 01:04 PM
Craig Craig is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Location: Hemel Hempstead
Posts: 527
Last couple of days have been just awful with the cpanel issues. Lets hope that tonites fix's will sort out any problems that are left. Im sure the team is working hard to solve all of them.

Time is the greatest healer, aparrently.

Regards

Craig

__________________
Craig Robinson - UKDedicated LTD
Managed Dedicated Servers and Colocation at Centro, Hemel Hempstead.
All supported by our own onsite team. Ask me for forum specials!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
cPanel Kicks Off Automation Bootcamp Conference on Monday Web Hosting News 2011-10-07 14:49:20
cPanel to Launch Certification Program at cPanel Conference 2011 Web Hosting News 2011-09-21 18:15:42
A First Look at cPanel’s new User Interface Web Hosting News 2011-09-15 19:35:40


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?