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: coppermine installation problem with mysql  (Read 4053 times)

0 Members and 1 Guest are viewing this topic.

photoelaine

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
coppermine installation problem with mysql
« on: October 21, 2003, 04:15:17 am »

I had a previous version of coppermine which i uninstalled. I formatted my system and did a fresh install of my server. When i tried to install coppermine, it gave me this error:

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

MySQL error was : Can't connect to MySQL server on 'localhost' (10061)

any ideas on how to solve this?

tech spec:
apache 2.0.47
mysql 4.0.15
php 4.3.3
winxp pro

thanks
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
coppermine installation problem with mysql
« Reply #1 on: October 21, 2003, 04:34:46 am »

Is this a testing environment or a production environment?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

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

photoelaine

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
coppermine installation problem with mysql
« Reply #3 on: October 21, 2003, 07:04:43 am »

testing... it is just for a personal site

and i don't know any programming language.  :(
read read read... :cry:
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
coppermine installation problem with mysql
« Reply #4 on: October 21, 2003, 08:18:03 pm »

If it is for testing, replace local host with the actual name of the MySQL server (Click on the traffic light, and you'll see it listed to the left.) Then enter the the username listed there as well.  If you gave that user name a password, provide that password. You should be able to do this without resinstalling by opening up the include directoty and editing the config file.

Youu will not be able to run Coppermine while the test box is connected to the internet, as it will look for the servername instead of realizing that iit is the local host.

-Hyperion
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

photoelaine

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
coppermine installation problem with mysql
« Reply #5 on: October 22, 2003, 05:34:32 am »

how do i get mysql to run? in the previous posts, i went to the links kegobeer suggested. however, after i downloaded the lastest version of mysql and installed it, i don't have an executable to run the actual mysql program. it worked fine before (without having to run the executable). is there a hidden trick?
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
coppermine installation problem with mysql
« Reply #6 on: October 22, 2003, 06:03:14 am »

Somehow the MySQL won't install the file into "Services" i also have that problem with latest MySQL.

Solution:
Add "C:\mysql\bin\mysqld-nt.exe" to your scheduled tasks and set it up to run when computer starts.

# Click the Start button, select Settings  then Control Panel to open the Control Panel window.
# In the Control Panel window, double-click Scheduled Tasks.
# In the Scheduled Tasks window, double-click Add Scheduled Task.
# On the welcome screen of the Scheduled Task Wizard, click Next.
# At the program selection step, click Browse... and browse to your MySQL\Data directory.
# Type MYSQLD-NT.EXE in the File name: edit box or locate it in the directory and select it and click Open.
# Make up a name for this task and under Perform this task: select When my computer starts. Click Next.
# Enter your password. Note: The task must be run under the same account which the dial-up entry was created under.
# At the final step click Finish
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
coppermine installation problem with mysql
« Reply #7 on: October 22, 2003, 06:04:52 am »

Did you tell it to run as a service when you went through the installation?
(Look for a traffic signal icon in the system tray - that will tell you it is running. )
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

photoelaine

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
coppermine installation problem with mysql
« Reply #8 on: October 22, 2003, 06:17:07 am »

i finally got mysql to work...  :lol:
i'm so stupid...  :oops:

thanks for the help!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.