Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > General Hosting/Server Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
changing max_packet_size on go daddy v dedicated server Details »»
changing max_packet_size on go daddy v dedicated server
Version: , by justitaly.eu justitaly.eu is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-28-2007 Last Update: Never Installs: 0
 
No support by the author.

Hi,

Im moving servers and trying to import my database into new sql db.

Ive ftp my database.sql to server.

Using ssh ive tried importing using: mysql -uusername -p datbasename </home/domain/public_html/database.sql

I get max_allowed_ packet error. I know the fix is here but am confused how to change this using ssh on go daddy v dedicated server.

I have tried mysql -uusername -p to go into sql mode and then tried entering the commands as stated in the link but i get nothing just a new line. I'm sure its something v simple.

My server is linux

Can anyone help?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-28-2007, 09:04 AM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I normally just run:
nano /etc/my.cnf
and then reboot MySQL.
Reply With Quote
  #3  
Old 01-28-2007, 09:17 AM
justitaly.eu justitaly.eu is offline
 
Join Date: Nov 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi roger,

Sorry im new to v dedicated been on shared hosting. Where do i type nano /etc/my.cnf in the ssh window?
Reply With Quote
  #4  
Old 01-28-2007, 09:29 AM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where you type everything else XD. I'm new as well, I only got my dedicated server 2 weeks ago. Zero Tolerance referred me to Putty which is what I use now: http://www.chiark.greenend.org.uk/~s.../download.html
Reply With Quote
  #5  
Old 01-28-2007, 09:44 AM
justitaly.eu justitaly.eu is offline
 
Join Date: Nov 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Thanks alot for that, Much better than that tiny screen in the vd server control panel. ill give it go now.

hi,

In regards to my previous quieries.

I have two questions.

1) What do i type in putty to restart my sql server

2) How do i change the max_allowed_packet in the server as i know how to in mysql. I looked on the site listed above but it didn't work.

They say type msqld --max_allowed_packet=16m but do i need to include a path or something?

Sorry for the silly questions, just new at all this and trying to get this to work.

many thanks in advance to anyone that can help

regards
Reply With Quote
  #6  
Old 01-28-2007, 03:48 PM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1) I use WHM and just reboot the MySQL process.
2) Just type "nano /etc/my.cnf" and then that should open a file. After that you just need to add the line: max_allowed_packets=123M and then press ctrl+X and then press Y and then press enter.

Of course changing 123 to the size you want it to be..
Attached Files
File Type: (21.3 KB, 7 views)
Reply With Quote
  #7  
Old 01-30-2007, 05:03 PM
justitaly.eu justitaly.eu is offline
 
Join Date: Nov 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i type nano etc/my.cnf i get an error messge "-bash: -bash : : command not found.

I think there must be a problem with my access. On the virtual dedicated server you are supposed to have root access but not the root username. Are you on a virtual or dedicated server?

the file etc/my.cnf is there when i look in the manage files option from my control panel but its not via ssh.

I really thank you for your help. Could this be a problem with my user status?
Reply With Quote
  #8  
Old 01-30-2007, 05:44 PM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have a VPS. Try "locate my.cnf".
Reply With Quote
  #9  
Old 01-30-2007, 06:34 PM
justitaly.eu justitaly.eu is offline
 
Join Date: Nov 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tried that and got:

warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
Please edit /etc/updatedb.conf to enable the daily cron job.
[user@my ip ~]$ -uroot -p updatedb
-bash: -uroot: command not found
[user@my ip ~]$ updatedb
fatal error: updatedb: You are not authorized to create a default slocate database!

I have sent a ticket to go daddy as im sure there is something wrong here.

ok, just an update.

the reason why i have have had no success is

1) i was not logging in as root. to have root access on the v dedicated server you must log in as normal via ssh and then type su and enter same password.

2) i dont have nano installed on my server so thats why the nano command does not work.

At this point is there any other programs that i should install on my server? do i really need nano oris there another way of getting the job done.

just off to do a search for the nano program.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:42 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.04525 seconds
  • Memory Usage 2,295KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete