• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Can not upload video!!

Started by fourdeltaOne,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fourdeltaOneTopic starter

please help. what I'm doing wrong? day after day, can not put in agony.   :-\ :'(
Skype: epic.mediauz
  •  

nicolas

Comment optimizer notre server mysql stp Alexander ?

petit tuto ? :)
  •  

PHPVibe A.

Quote from: fourdeltaOne on
I optimized mysql but nothing happened.

about this log that say?

[error] PHP Warning:  Missing boundary in multipart/form-data POST data in Unknown on line 0, referer: http://www.muvi.uz/add-video


This only happens on firefox i think, as I know the warning is harmless, happens to us to, but does not affect upload/functionality.

PHPVibe A.


fourdeltaOneTopic starter

Thanks Alex, decided everything.   ::)
as you said, it was necessary to optimize mysql do.
in general, who will be a similar problem, here is the solution:

wait_timeout = 600
max_allowed_packet = 64M
Skype: epic.mediauz
  •  

nicolas

Bonjours, dans my.cnf j'ai tout mit à 3000M, mais ca ne fonctionne toujours pas :/

my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
# 
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.




######################################################################################################
## LWS recommendation
######################################################################################################
##
##
## LWS vous informe que ce fichier est modifier par une tache automatique afin d_optimiser MySQL
## En fonction des quotas de votre VPS. 
##
## Si vous desirez modifier celui-ci, nous vous invitons a supprimer ce commentaire.
##
## Chaque fois que ce commentaire sera detecte, ce fichier sera succeptible d_etre modifie.
##
######################################################################################################
######################################################################################################




[client]
port		= 3306
socket		= /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket		= /var/run/mysqld/mysqld.sock
nice		= 0

[mysqld]
#
# * Basic Settings
#
user		= mysql
pid-file	= /var/run/mysqld/mysqld.pid
socket		= /var/run/mysqld/mysqld.sock
port		= 3306
basedir		= /usr
datadir		= /var/lib/mysql
tmpdir		= /tmp
language	= /usr/share/mysql/english
innodb_use_native_aio = 0
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address		= 127.0.0.1
# Skip reverse DNS lookup of clients
#skip-name-resolve



##############################################
############### Configuration 1Go
##############################################
#
# * Fine Tuning
# 
key_buffer              = 3000M
max_allowed_packet      = 3000 M
table_cache = 3000
thread_stack            = 3000K
thread_cache_size       = 3000
sort_buffer_size = 3000M
read_buffer_size = 3000M
read_rnd_buffer_size = 3000M
net_buffer_length = 3000M
wait_timeout = 28800
interactive_timeout = 28800

#
# * Query Cache Configuration
# 
query_cache_limit       = 3000M
query_cache_size        = 3000M

##############################################







# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover         = BACKUP
max_connections        = 30
#table_cache            = 64
#thread_concurrency     = 10


#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file        = /var/log/mysql/mysql.log
#general_log             = 1
#
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
#
# Here you can see queries with especially long duration
log_slow_queries	= /var/log/mysql/mysql-slow.log
long_query_time = 5
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
#       other settings you may need to change.
#server-id		= 1
#log_bin			= /var/log/mysql/mysql-bin.log
expire_logs_days	= 3000
max_binlog_size         = 3000M
#binlog_do_db		= include_database_name
#binlog_ignore_db	= include_database_name
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem


[isamchk]
key_buffer		= 3000M

[mysqldump]
quick
quote-names
max_allowed_packet	= 3000M



[mysql]
#no-auto-rehash	# faster start of mysql but no tab completition


#
# * IMPORTANT: Additional settings that can override those from this file!
#   The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/


que me considérer vous ?
  •  

PHPVibe A.

Did you restart the sql server after the changes?

nicolas

  •  

PHPVibe A.

Something is wrong in the config, you're sure you didn't broke anything when editing?

nicolas

Quote from: fourdeltaOne on
Thanks Alex, decided everything.   ::)
as you said, it was necessary to optimize mysql do.
in general, who will be a similar problem, here is the solution:

wait_timeout = 600
max_allowed_packet = 64M

fourdeltaOne pourrais tu me montrer vôtre my.conf svp ?
  •  

nicolas

J'ai régler le problème de restart, mais ça ne fonctionne toujours pas .

Voici mon my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
# 
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
[client]
port		= 3306
socket		= /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket		= /var/run/mysqld/mysqld.sock
nice		= 0
query_cache_size = 268435456
query_cache_type=1
query_cache_limit=1048576
max_allowed_packet	= 3000M

[mysqld]
#
# * Basic Settings
#
user		= mysql
pid-file	= /var/run/mysqld/mysqld.pid
socket		= /var/run/mysqld/mysqld.sock
port		= 3306
basedir		= /usr
datadir		= /var/lib/mysql
tmpdir		= /tmp
lc-messages-dir	= /usr/share/mysql
skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address		= 127.0.0.1
#
# * Fine Tuning
#
key_buffer		= 3000M
max_allowed_packet	= 3000M
wait_timeout = 600
thread_stack		= 192K
thread_cache_size       = 100
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover         = BACKUP
#max_connections        = 100
#table_cache            = 64
#thread_concurrency     = 10
#
# * Query Cache Configuration
#
query_cache_limit	= 3000M
query_cache_size        = 3000M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
# As of 5.1 you can enable the log at runtime!
#general_log_file        = /var/log/mysql/mysql.log
#general_log             = 1
#
# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
#
# Here you can see queries with especially long duration
log_slow_queries	= /var/log/mysql/mysql-slow.log
long_query_time = 5
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
#       other settings you may need to change.
#server-id		= 1
#log_bin			= /var/log/mysql/mysql-bin.log
expire_logs_days	= 10
max_binlog_size         = 3000M
#binlog_do_db		= include_database_name
#binlog_ignore_db	= include_database_name
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem



[mysqldump]
quick
quote-names
max_allowed_packet	= 3000M

[mysql]
#no-auto-rehash	# faster start of mysql but no tab completition

[isamchk]
key_buffer		= 3000M

#
# * IMPORTANT: Additional settings that can override those from this file!
#   The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/

query_cache_size = 268435456
query_cache_type=1
query_cache_limit=1048576
  •  

PHPVibe A.

Nicolas, have you upgraded to 3.6? Or you are on a previous version still?

nicolas

#37
Oui la version es bonne.

Je peux t'envoyer les informations de mon VPS via MP pour que tu regarde ?
  •  

PHPVibe A.


nicolas

  •  

PHPVibe A.

I'm not sure what to look for there, I'm an coder not an hosting expert.
I've checked and optimized your database, looked at the structure to see if there is any error, and I have not found any.

Similar topics (7)