求推荐适合程序员使用的笔记本电脑
求推荐适合程序员使用的笔记本电脑最近想换台笔记本电脑,原来的本本用起来很卡,所以想换台好点的笔记本 1.最好能运行2台以上的虚拟机,开idea不卡,程序运行也不能太卡。 2.很少打游戏,所以显卡无所谓。 3.想要散热能力好的,经常整天都是开机的,运行大型软件不烫。 4.有时候需要出差,希望不要太厚太重。 5.最重要的是要能扩展
更新时间:2023-10-06 13:10
最满意答案
你的配置信息 错误 这个是我现在用的 你改下目录就行了 [client] port=3306 [mysql] default-character-set=utf8 # SERVER SECTION # ---------------------------------------------------------------------- # # The following options will be read by the MySQL Server. Make sure that # you have installed the server correctly (see above) so it reads this # file. # [mysqld] # The TCP/IP Port the MySQL Server will listen on port=3306 #Path to installation directory. All paths are usually resolved relative to this. basedir="E:/wamp/mysql/" #Path to the database root datadir="E:/wamp/mysql/data/Data/" # The default character set that will be used when a new schema or table is # created and no character set is defined character-set-server=utf8 # The default storage engine that will be used when create new tables when default-storage-engine=INNODB # Set the SQL mode to strict sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" # The maximum amount of concurrent sessions the MySQL server will # allow. One of these connections will be reserved for a user with # SUPER privileges to allow the administrator to login even if the # connection limit has been reached. max_connections=100 # Query cache is used to cache SELECT results and later return them # without actual executing the same query once again. Having the query # cache enabled may result in significant speed improvements, if your # have a lot of identical queries and rarely changing tables. See the # "Qcache_lowmem_prunes" status variable to check if the current value # is high enough for your load. # Note: In case your tables change very often or if your queries are # textually different every time, the query cache may result in a # slowdown instead of a performance improvement. query_cache_size=0 # The number of open tables for all threads. Increasing this value # increases the number of file descriptors that mysqld requires. # Therefore you have to make sure to set the amount of open files # allowed to at least 4096 in the variable "open-files-limit" in # section [mysqld_safe] table_cache=256 # Maximum size for internal (in-memory) temporary tables. If a table # grows larger than this value, it is automatically converted to disk # based table This limitation is for a single table. There can be many # of them. tmp_table_size=34M # How many threads we should keep in a cache for reuse. When a client # disconnects, the client's threads are put in the cache if there aren't # more than thread_cache_size threads from before. This greatly reduces # the amount of thread creations needed if you have a lot of new # connections. (Normally this doesn't give a notable performance # improvement if you have a good thread implementation.) thread_cache_size=8 #*** MyISAM Specific options # The maximum size of the temporary file MySQL is allowed to use while # recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE. # If the file-size would be bigger than this, the index will be created # through the key cache (which is slower). myisam_max_sort_file_size=100G # If the temporary file used for fast index creation would be bigger # than using the key cache by the amount specified here, then prefer the # key cache method. This is mainly used to force long character keys in # large tables to use the slower key cache method to create the index. myisam_sort_buffer_size=68M # Size of the Key Buffer, used to cache index blocks for MyISAM tables. # Do not set it larger than 30% of your available memory, as some memory # is also required by the OS to cache rows. Even if you're not using # MyISAM tables, you should still set it to 8-64M as it will also be # used for internal temporary disk tables. key_buffer_size=55M # Size of the buffer used for doing full table scans of MyISAM tables. # Allocated per thread, if a full scan is needed. read_buffer_size=64K read_rnd_buffer_size=256K # This buffer is allocated when MySQL needs to rebuild the index in # REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE # into an empty table. It is allocated per thread so be careful with # large settings. sort_buffer_size=256K #*** INNODB Specific options *** # Use this option if you have a MySQL server with InnoDB support enabled # but you do not plan to use it. This will save memory and disk space # and speed up some things. #skip-innodb # Additional memory pool that is used by InnoDB to store metadata # information. If InnoDB requires more memory for this purpose it will # start to allocate it from the OS. As this is fast enough on most # recent operating systems, you normally do not need to change this # value. SHOW INNODB STATUS will display the current amount used. innodb_additional_mem_pool_size=3M # If set to 1, InnoDB will flush (fsync) the transaction logs to the # disk at each commit, which offers full ACID behavior. If you are # willing to compromise this safety, and you are running small # transactions, you may set this to 0 or 2 to reduce disk I/O to the # logs. Value 0 means that the log is only written to the log file and # the log file flushed to disk approximately once per second. Value 2 # means the log is written to the log file at each commit, but the log # file is only flushed to disk approximately once per second. innodb_flush_log_at_trx_commit=1 # The size of the buffer InnoDB uses for buffering log data. As soon as # it is full, InnoDB will have to flush it to disk. As it is flushed # once per second anyway, it does not make sense to have it very large # (even with long transactions). innodb_log_buffer_size=2M # InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and # row data. The bigger you set this the less disk I/O is needed to # access data in tables. On a dedicated database server you may set this # parameter up to 80% of the machine physical memory size. Do not set it # too large, though, because competition of the physical memory may # cause paging in the operating system. Note that on 32bit systems you # might be limited to 2-3.5G of user level memory per process, so do not # set it too high. innodb_buffer_pool_size=106M # Size of each log file in a log group. You should set the combined size # of log files to about 25%-100% of your buffer pool size to avoid # unneeded buffer pool flush activity on log file overwrite. However, # note that a larger logfile size will increase the time needed for the # recovery process. innodb_log_file_size=53M # Number of threads allowed inside the InnoDB kernel. The optimal value # depends highly on the application, hardware as well as the OS # scheduler properties. A too high value may lead to thread thrashing. innodb_thread_concurrency=10
其他回答
net start mysql 命令无效可能是没有指定到安装目录,输入密码能进入到mysql说明你的数据库已经启动了,否则会显示无法连接数据库,你可以打开任务管理器到进程里面看看mysql有没运行。
相关问答
更多-
mysql重新安装 始终出现1067错误[2023-11-16]
应该是注册表没有清理干净造成的。请清空注册表中所有关于MySQL的信息 -
Win7下安装MySQL出错,发生系统错误 1067.求高手帮解决[2022-02-23]
一模一样的问题,网上的哪些答案都是抄的,根本不能解决问题,郁闷 -
解决方法如下: 1、先删除mysql服务 控制面板->管理工具->服务,先停止mysql服务 开始->运行->输入cmd->sc delete mysql 服务删除 2、修改my.ini 如果没将其创建(以下设置可以参考http://hi.baidu.com/chuyanwu/blog/item/98142a2e7d448d564ec2262c.html一般这个设置都不会错误) [mysqld] # set basedir to your installation path basedir=c:/mysql ...
-
mysql服务启动1067[2022-08-05]
先mysqld install mysql -
在本地计算机无法启动MYSQL服务错误1067进程意外终止 这种情况一般是my. ini文件配置出错了, 你可以删除系统目录下的my.ini文件, 把下面的内容重新写入my.ini文件试试, 要适当地改写一下文件路径 我的my.ini 2007年12月31日 [WinMySQLAdmin] Server=C:/MYSQL/mysql/bin/mysqld-opt.exe user=root [mysqld] basedir=C:/MYSQL/mysql datadir=C:/MYSQL/mysql/data ...
-
通过net start mysql无法启动mysql,显示服务名无效[2023-08-03]
net start mysql 命令无效可能是没有指定到安装目录,输入密码能进入到mysql说明你的数据库已经启动了,否则会显示无法连接数据库,你可以打开任务管理器到进程里面看看mysql有没运行。 -
在本地计算机无法启动MYSQL服务错误1067进程意外终止 这种情况一般是my.ini文件配置出错了, 你可以删除系统目录下的my.ini文件, 把下面的内容重新写入my.ini文件试试, 要适当地改写一下文件路径 我的my.ini 2007年12月31日 [WinMySQLAdmin] Server=C:/MYSQL/mysql/bin/mysqld-opt.exe user=root [mysqld] basedir=C:/MYSQL/mysql datadir=C:/MYSQL/mysql/data ...
-
net start mysql出错,显示错误1067[2023-11-28]
你的配置信息 错误 这个是我现在用的 你改下目录就行了 [client] port=3306 [mysql] default-character-set=utf8 # SERVER SECTION # ---------------------------------------------------------------------- # # The following options will be read by the MySQL Server. Make sure that # you hav ... -
mysql重装后出现1067错误无法启动服务怎么解决?[2023-10-10]
方法一:1、打开my.ini文件,找到default-storage-engine=InnoDB这一行,把它改成default-storage-engine=MyISAM。 2、删除在MySQL安装目录下的Data目录中的ib_logfile0和ib_logfile1 3。找到在配置MySQL服务器时指定的InfoDB目录删除掉ibdata1 根据my.ini文件中: #*** INNODB Specific options *** innodb_data_home_dir="D:/"。4。重新启动MySQ ... -
直接在命令行 mysql -uroot -p(你的密码) 如果不行 在安装目录下 mysql -uroot -p 然后根据提示输入密码 要是还不行不是有一个mysqlcommandline在的你开始菜单里面吗,点进去就可以了 判断mysql有没有运行 只要进程里面有mysqld就可以了 祝好运