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?
October 14, 2008, 10:39:16 AM

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 374 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: 784



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: 13


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: 399



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
Rookie
**
Offline Offline

Gender: Male
Posts: 20


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
Buddylist for guildbot
by Zacix
[Today at 09:43:40 AM]

Link 2 Guilds via 2 Bots?
by Temar
[Today at 08:42:11 AM]

OnlineOrg
by Karsta
[October 13, 2008, 06:54:20 AM]

!security Levels
by Nytridr
[October 12, 2008, 11:36:45 PM]

Bossloot for 5.2
by Brac
[October 12, 2008, 04:45:17 PM]

Ported Modules
by Jiheld
[October 12, 2008, 09:00:13 AM]

raid/point system suggest...
by Temar
[October 11, 2008, 11:45:40 PM]

!timers suggestions: alts...
by Alreadythere
[October 11, 2008, 03:19:46 PM]

!server does not work
by Alreadythere
[October 11, 2008, 06:54:38 AM]

TWC
by clashbot
[October 10, 2008, 08:52:57 AM]
Stats
Members
Total Members: 989
Latest: Syphae
Stats
Total Posts: 10814
Total Topics: 1459
Online Today: 14
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 13
Total: 15
Zacix

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.268 seconds with 28 queries. (Pretty URLs adds 0.038s, 4q)
Loading...