Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Could not create a mySQL connection, please check the SQL values entered  (Read 5797 times)

0 Members and 1 Guest are viewing this topic.

mcrockford

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Access denied for user 'mcrockford1'@'server218-apache202.livedns.org.uk' (using password: YES)

any ideas what this means ?

Regards

Martin.
« Last Edit: September 08, 2005, 01:27:56 pm by kegobeer »
Logged

Nibbler

  • Guest
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #1 on: September 06, 2005, 11:12:37 am »

You need to fill in a valid username and password in order for Coppermine to be able to connect to your database.
Logged

mcrockford

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #2 on: September 06, 2005, 11:52:36 am »

I have setup a username and password and double checked it, but can't see what's wrong. The server does not like localhost but I used an i.p. addess instead. Where should I go from here ?

Regards

Martin.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #3 on: September 06, 2005, 05:30:20 pm »

ask your webhost then, this is not something we could help you to figure out. You can't make up the mysql username and password: the user has to already exist and have the proper permissions to access the database.
Logged

mcrockford

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #4 on: September 07, 2005, 12:56:20 am »

My host has an on-line controll panel where you setup your database name etc for myql , which I have done for coppermine.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #5 on: September 07, 2005, 02:14:43 am »

http://forum.coppermine-gallery.net/index.php?topic=16217.msg75687;topicseen#msg75687

Create the test connection script, upload it to your site, and see what happens.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mcrockford

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #6 on: September 07, 2005, 12:01:02 pm »

Thanks for that , I get this.

Warning: mysql_connect(): Access denied for user 'mcrockford1'@'server218-apache202.livedns.org.uk' (using password: YES) in /home/fhlinux202/r/reecall.com/user/htdocs/text.php on line 7
Could not connect: Access denied for user 'mcrockford1'@'server218-apache202.livedns.org.uk' (using password: YES)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mcrockford

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Could not create a mySQL connection, please check the SQL values entered
« Reply #8 on: September 08, 2005, 07:50:54 am »

Reset the password and all seems ok , thanks very much for all your help
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 15 queries.