vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Run your vBulletin on your PC (https://vborg.vbsupport.ru/showthread.php?t=79539)

bada_bing 03-15-2006 05:55 PM

Quote:

Originally Posted by TheMusicMan
Haha... I didnt realise sorry... but it is what you asked for no?

Yes and no.. I understand that doing these steps will allow me to run a local vopy of vb on my local PC but How do I import a copy of my production database and entire site to run locally for testing was my question rather then running a new fresh copy of VB?

monstergamer 04-01-2006 12:39 AM

been using this for a year or so with the older verson, i just change PCs. so i had to get this back.
this way is alot easier the the firest tut.

Deaths 04-04-2006 10:49 PM

Heh, I had no idea this thread was still alive after all this time.

I'll keep an eye on this thread from now on.. my appologies to everyone I didn't assist.

TheMusicMan 04-05-2006 07:18 AM

For what it's worth - I installed this recently on several machines and it works flawlessly on them both. Not sure there's anyting needs 'fixing'... great work thanks.

Deaths 04-05-2006 05:20 PM

Thanks for your positive feedback ;).

bada_bing 04-07-2006 03:01 PM

I am having problems importing my production database after I downloaded it and renamed it as specified in the directions. From phpmyadmin I try to do the import the area when the directions says go get a cup of coffee :D well I have tried serveral time and the page ends up timing our saying page cant be displayed... I all coffeied out doing this can someone help please.. My database is 260 mb and I am on a windows 2K machine.

Deaths 04-07-2006 03:54 PM

Well, a 260 mb database is indeed a bit too big for phpMyAdmin ;).

I'm pretty sure your answer has already been answered in this thread though. Have a read through the pages and you'll probably find it.

bada_bing 04-07-2006 04:11 PM

Quote:

Originally Posted by Deaths
Well, a 260 mb database is indeed a bit too big for phpMyAdmin ;).

I'm pretty sure your answer has already been answered in this thread though. Have a read through the pages and you'll probably find it.

Could not find a simular problem in the thread?

Deaths 04-08-2006 12:57 PM

Well, what you can do is import parts of the database step by step. So basicly copy 1/10th of the database file (make sure you end the copy/paste at the end of a table inject or things will get messy ^^).

gavinzac 04-08-2006 05:29 PM

trying to import the database, its "only" 36mb but its been importing for the last 3 hours. restart?

Deaths 04-10-2006 06:41 PM

Try restarting it. If that doesn't work, split it into pieces aswell ;).

bada_bing 04-12-2006 02:06 AM

Quote:

Originally Posted by Deaths
Well, what you can do is import parts of the database step by step. So basicly copy 1/10th of the database file (make sure you end the copy/paste at the end of a table inject or things will get messy ^^).

How do I do that? Can you explain as I am new to this

gavinzac 04-12-2006 07:58 PM

i tried to split it but my text editor crashed trying to "cut" 15 mb of data.

Jordan17 04-17-2006 01:42 PM

Quote:

Originally Posted by lasto
9 meg on your computer should be done in about 10 mins.

Also when looking to the left for tables they may not show so log out and back in - solves the problem all the time.

Use a program called Mysqfront to create databases local - is well easy program to use.

Mine is 50+ MB so it just times out all the time.

john1744 05-22-2006 03:26 PM

How about images getting corrupted on the localhost? All my images are trying to show up as my actual sites address which of course doesn't work since I am not connected to the net when working on this.

Example:

systemwars.com/forums/images/image.gif - is what it is showing up as instead of

localhost/forums/images/image.gif

parad0xx 05-27-2006 08:16 PM

Quote:

Originally Posted by Jordan17
Mine is 50+ MB so it just times out all the time.

Yeah, I cannot seem to get my SQL file loaded and mine is only 9MB. I let it run 9 hours. Someone please explain an alternate method then posting it through phpmyadmin please.

mdavis1984 07-23-2006 01:32 AM

Hey i did all this allready lol but i use abyss webserver x2. nice server and they got free version to called x1. way super user friendly. of course i had to install mysql phpmyadmin and all that good stuff. and vb 3.5.4. great help here though.

Guest210212002 07-24-2006 02:32 PM

Quote:

Originally Posted by parad0xx
Yeah, I cannot seem to get my SQL file loaded and mine is only 9MB. I let it run 9 hours. Someone please explain an alternate method then posting it through phpmyadmin please.


Via SSH.

https://vborg.vbsupport.ru/showthread.php?t=106935

a 9MB database should take about ten seconds.

Staxed 07-25-2006 03:52 AM

that package linked for phptriad has php 4.1.1...what's the easiest way to upgrade the php?

Jay... 08-05-2006 08:21 PM

thats what i want to know

Staxed 08-06-2006 06:10 AM

does anyone know?...

Jay... 08-06-2006 01:37 PM

bump

KevinL 08-06-2006 05:09 PM

Has anyone tried this on a mac?

Ranma2k 08-07-2006 11:09 AM

Quote:

Originally Posted by Irisfire
that package linked for phptriad has php 4.1.1...what's the easiest way to upgrade the php?

get the zip file from php.net and extract the files in the curent php directory that is set by phptriad

Quote:

Originally Posted by Jordan17
Mine is 50+ MB so it just times out all the time.

Click start -> run -> type "CMD" -> hit enter
in dos
go to mysql\bin directory ( assuming mysql is installed on drive C: )
cd c:\mysql\bin

run the following command

mysql -D mydatabase -u username -p < c:\path\to\file\mysqlfile.sql



mydatabase is your database name that you want to load the sql file into
username if the username for the database ( mostly is root).
mysqlfile.sql is your SQL file that you want to load

if you have set a password then it will ask you for the password after you hit the Enter key
if you didn't set a pssword use this command insted


mysql -D mydatabase < c:\path\to\file\mysqlfile.sql


using this i loaded a 290 MB database in 1 min

MakZF 08-09-2006 10:21 AM

Nice tut, I'd reccomend using EasyPHP though, it works great for me.

amnesia623 08-09-2006 04:22 PM

I've always used XAMMP to install everything.

Then I added an entry in my windows 'hosts' file that made my domain name point back to localhost so all my links/graphics/etc would resolve back to my pc.

So no matter if I was connected to the internat or not, when I typed www.mydoamin.com into my browser it would loop back into the webserver that was on my PC.

*this is a great way to mess with someone too because you can point any domain to any other domain...like hotmail.com to ratemymullet.com*

Ziki 11-02-2006 02:12 PM

Getting this error when trying to access phpmyadmin

Error

MySQL said:

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

Blaine0002 11-24-2006 07:18 PM

Quote:

Originally Posted by YLP1 (Post 638464)
Newbie here... I am stuck...everything worked up until the time to click on test database...nothing there..I then right clicked to create a database and it dialog box says that the server must be connected.

Help?!?!?! ;)

Same problem here, yes ive tried restarting apache.
is the icon in the bottom right supposed to be red?
I can right click it, go to winNT and click start service, but it fails for some reason :-/

Ziki 11-26-2006 11:01 AM

PHPTriad sux.use XAMMP. Works great

Blaine0002 11-26-2006 12:52 PM

hell i just downloaded the latest versions of each and managed to stick em together :)

Lord Kirken Mor 03-13-2007 02:12 AM

What is there for Mac OS X Tiger? I dont have a windows.

Luky 04-14-2007 05:57 AM

PHPTriad? I used to use Xampp, ill try this but :)

SoftDux 05-11-2007 11:35 AM

what about the licencing of VB? Won't the local copy give some errors saying the domain isn't registered?

karlm 05-18-2007 07:05 AM

I've had to update to the latest php & mysql versions to work with vb3.6.7, but it's worth it. This is an AWSOME article... I wish I'd read it long ago, would've saved a lot of messing about with test forums' using subdirectories & another of my limited mysql's with my hosting company.

Thanks for this article - excellent learning material for we n00bz

Daisil 06-07-2007 01:55 AM

Quote:

vBulletin 3.6.7 requires MySQL version 4.0.16 or greater. Your MySQL is version 3.23.47-nt, please ask your host to upgrade..
I fixed my PHP Version but how can I fix my MySQL version to work w. this!?

Thanks,
Daisil

Does anybody know?

TECK 06-16-2007 04:05 PM

That is a good example how BAB is to use those type of setups.
Do it your self, install it the old school way. Then you can upgrade instantly to whatever version you like and not depend on someone to update their software.

I NEVER installed those type of system into my PC

blazingpc 07-25-2007 02:55 PM

This is a great way to learn to MOD your own board.

I installed it in about 10 min but had to use easyPHP because the Triad in the first post is to old.

I recommend doing this.

TECK 08-01-2007 04:44 PM

I recommend using the right way: install manually and configure yourself PHP and MySQL... if you want to learn something.
If you don't want, yes, use those premade programs.

Opserty 08-03-2007 09:04 PM

XAMPP works fine, I used to do it the old way but now its just easier to download something like xampp. If a new version comes out just uninstall and reinstall and save the mysql db files. Simple really :p

dtv100 08-04-2007 10:41 AM

this is great thanks .

what about if you have more than one forum is possible to run all from my PC ?


All times are GMT. The time now is 02:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02578 seconds
  • Memory Usage 1,812KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete