L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2008, 11:08:14 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: moving bot
Pages: [1]   Go Down
« previous next »
Print
Author Topic: moving bot  (Read 289 times)
0 Members and 1 Guest are viewing this topic.
devas
Freshman
*
Offline Offline

Posts: 2


moving bot
« on: August 01, 2008, 06:36:22 PM »

hi, im trying to move the bot to another computer and preserve settings ect.... but i fail badly at finding out how to make the connect to the databse again... only getting access denied, and ive tried everything... dont know much about mysql ect so...  How can u move the bot to another computer and use the same mysql database? :/      get this msg when i just copy the files into database folder: PHP Warning:  mysql_connect(): Can't connect to MySQL server on 'localhost' (10061)
PHP Warning:  mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) in C:\Documents and Settings\Remote\Desktop\relaybot bebot\Sources\MySQL.php on line 96

Cant find any posts helping about this either, so is there a right way to do this? =P
« Last Edit: August 01, 2008, 06:38:22 PM by devas » Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 702



WWW
Re: moving bot
« Reply #1 on: August 01, 2008, 07:01:37 PM »

u can iver copy the database to new location too
or connection to old useing the IP
localhost = same computer
Logged
saik0
Freshman
*
Offline Offline

Posts: 10


Re: moving bot
« Reply #2 on: August 01, 2008, 09:30:50 PM »

Just follow the same steps for setting up mySQL on your new machine, and use mysql dump to backup your database, move it to the new machine, and import it.
Logged
devas
Freshman
*
Offline Offline

Posts: 2


Re: moving bot
« Reply #3 on: August 03, 2008, 09:57:57 AM »

ok thx Smiley figured mysqldump out, all working again  Grin
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 391



Re: moving bot
« Reply #4 on: August 05, 2008, 04:44:16 PM »

I see you've gotten it figured out, but for those searching the forums trying to accomplish the same thing:

Backup a MySQL database:
mysqldump databasename -u username -p password > database-backup.sql

Copy database-backup.sql to your new computer.

Restore SQL file:
mysql -u username -p databasename < database-backup.sql
Logged
Zeephonz
Freshman
*
Online Online

Gender: Male
Posts: 18


Re: moving bot
« Reply #5 on: August 05, 2008, 08:05:11 PM »

The alternative is to download the GUI Tools for MySQL. Nice purdy interface for complete database management.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: moving bot
« previous next »
 
Jump to:  

Recent
Help with online info in ...
by Barlyman
[Today at 07:56:24 PM]

BeBot v0.5.3 released (de...
by Temar
[Today at 07:51:18 PM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Org Relaying
by Nytridr
[September 06, 2008, 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]
Stats
Members
Total Members: 965
Latest: morisey
Stats
Total Posts: 10414
Total Topics: 1413
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 5
Guests: 23
Total: 28
blackspell
egrath
paranoiak
Zeephonz
Barlyman

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.432 seconds with 28 queries. (Pretty URLs adds 0.036s, 4q)
Loading...